1f704ef44SHeiko Carstens #ifndef ARCH_PERF_REGS_H 2f704ef44SHeiko Carstens #define ARCH_PERF_REGS_H 3f704ef44SHeiko Carstens 4f704ef44SHeiko Carstens #include <stdlib.h> 5f704ef44SHeiko Carstens #include <linux/types.h> 6*10b9baa7SArnaldo Carvalho de Melo #include <asm/perf_regs.h> 7f704ef44SHeiko Carstens 8f704ef44SHeiko Carstens void perf_regs_load(u64 *regs); 9f704ef44SHeiko Carstens 10f704ef44SHeiko Carstens #define PERF_REGS_MASK ((1ULL << PERF_REG_S390_MAX) - 1) 11f704ef44SHeiko Carstens #define PERF_REGS_MAX PERF_REG_S390_MAX 12f704ef44SHeiko Carstens #define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_64 13f704ef44SHeiko Carstens 14f704ef44SHeiko Carstens #endif /* ARCH_PERF_REGS_H */ 15