1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_PERF_REGS_H
3 #define ARCH_PERF_REGS_H
6 #include <linux/types.h>
7 #include <asm/perf_regs.h>
9 void perf_regs_load(u64
*regs
);
11 #define PERF_REGS_MASK ((1ULL << PERF_REG_ARM_MAX) - 1)
12 #define PERF_REGS_MAX PERF_REG_ARM_MAX
13 #define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_32
15 #define PERF_REG_IP PERF_REG_ARM_PC
16 #define PERF_REG_SP PERF_REG_ARM_SP
18 static inline const char *perf_reg_name(int id
)
41 case PERF_REG_ARM_R10
:
60 #endif /* ARCH_PERF_REGS_H */