1 #ifndef ARCH_PERF_REGS_H
2 #define ARCH_PERF_REGS_H
5 #include <linux/types.h>
6 #include <asm/perf_regs.h>
8 void perf_regs_load(u64
*regs
);
10 #define PERF_REGS_MASK ((1ULL << PERF_REG_ARM_MAX) - 1)
11 #define PERF_REGS_MAX PERF_REG_ARM_MAX
12 #define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_32
14 #define PERF_REG_IP PERF_REG_ARM_PC
15 #define PERF_REG_SP PERF_REG_ARM_SP
17 static inline const char *perf_reg_name(int id
)
40 case PERF_REG_ARM_R10
:
59 #endif /* ARCH_PERF_REGS_H */