summaryrefslogtreecommitdiff
path: root/tools/perf/arch/arm/include/perf_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/arm/include/perf_regs.h')
-rw-r--r--tools/perf/arch/arm/include/perf_regs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/arch/arm/include/perf_regs.h b/tools/perf/arch/arm/include/perf_regs.h
index 33abcfa3057c..f619c9c5a4bf 100644
--- a/tools/perf/arch/arm/include/perf_regs.h
+++ b/tools/perf/arch/arm/include/perf_regs.h
@@ -8,6 +8,9 @@
void perf_regs_load(u64 *regs);
#define PERF_REGS_MASK ((1ULL << PERF_REG_ARM_MAX) - 1)
+#define PERF_REGS_MAX PERF_REG_ARM_MAX
+#define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_32
+
#define PERF_REG_IP PERF_REG_ARM_PC
#define PERF_REG_SP PERF_REG_ARM_SP