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_POWERPC_MAX) - 1)
 
#define PERF_REGS_MAX   PERF_REG_POWERPC_MAX
 
#define PERF_SAMPLE_REGS_ABI   PERF_SAMPLE_REGS_ABI_32
 
#define PERF_REG_IP   PERF_REG_POWERPC_NIP
 
#define PERF_REG_SP   PERF_REG_POWERPC_R1
 

Functions

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

Variables

static const char * reg_names []
 

Macro Definition Documentation

◆ PERF_REG_IP

#define PERF_REG_IP   PERF_REG_POWERPC_NIP

Definition at line 19 of file perf_regs.h.

◆ PERF_REG_SP

#define PERF_REG_SP   PERF_REG_POWERPC_R1

Definition at line 20 of file perf_regs.h.

◆ PERF_REGS_MASK

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

Definition at line 11 of file perf_regs.h.

◆ PERF_REGS_MAX

#define PERF_REGS_MAX   PERF_REG_POWERPC_MAX

Definition at line 12 of file perf_regs.h.

◆ PERF_SAMPLE_REGS_ABI

#define PERF_SAMPLE_REGS_ABI   PERF_SAMPLE_REGS_ABI_32

Definition at line 16 of file perf_regs.h.

Function Documentation

◆ perf_reg_name()

static const char* perf_reg_name ( int id  )
inlinestatic

Definition at line 68 of file perf_regs.h.

◆ perf_regs_load()

void perf_regs_load ( u64 *  regs)

Variable Documentation

◆ reg_names

const char* reg_names[]
static

Definition at line 22 of file perf_regs.h.