Linux Perf
perf_regs.h File Reference
#include <stdlib.h>
#include <linux/types.h>
#include <asm/perf_regs.h>
Include dependency graph for perf_regs.h:

Go to the source code of this file.

Macros

#define PERF_REGS_MASK   ((1ULL << PERF_REG_ARM64_MAX) - 1)
 
#define PERF_REGS_MAX   PERF_REG_ARM64_MAX
 
#define PERF_SAMPLE_REGS_ABI   PERF_SAMPLE_REGS_ABI_64
 
#define PERF_REG_IP   PERF_REG_ARM64_PC
 
#define PERF_REG_SP   PERF_REG_ARM64_SP
 

Functions

void perf_regs_load (u64 *regs)
 
static const char * perf_reg_name (int id)
 

Macro Definition Documentation

◆ PERF_REG_IP

#define PERF_REG_IP   PERF_REG_ARM64_PC

Definition at line 15 of file perf_regs.h.

◆ PERF_REG_SP

#define PERF_REG_SP   PERF_REG_ARM64_SP

Definition at line 16 of file perf_regs.h.

◆ PERF_REGS_MASK

#define PERF_REGS_MASK   ((1ULL << PERF_REG_ARM64_MAX) - 1)

Definition at line 11 of file perf_regs.h.

◆ PERF_REGS_MAX

#define PERF_REGS_MAX   PERF_REG_ARM64_MAX

Definition at line 12 of file perf_regs.h.

◆ PERF_SAMPLE_REGS_ABI

#define PERF_SAMPLE_REGS_ABI   PERF_SAMPLE_REGS_ABI_64

Definition at line 13 of file perf_regs.h.

Function Documentation

◆ perf_reg_name()

static const char* perf_reg_name ( int id  )
inlinestatic

Definition at line 18 of file perf_regs.h.

◆ perf_regs_load()

void perf_regs_load ( u64 *  regs)