xref: /linux/tools/perf/arch/s390/include/perf_regs.h (revision 8c994eff8fcfe8ecb1f1dbebed25b4d7bb75be12)
1 #ifndef ARCH_PERF_REGS_H
2 #define ARCH_PERF_REGS_H
3 
4 #include <stdlib.h>
5 #include <linux/types.h>
6 #include <asm/perf_regs.h>
7 
8 void perf_regs_load(u64 *regs);
9 
10 #define PERF_REGS_MASK ((1ULL << PERF_REG_S390_MAX) - 1)
11 #define PERF_REGS_MAX PERF_REG_S390_MAX
12 #define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_64
13 
14 #endif /* ARCH_PERF_REGS_H */
15