perf_regs.h (414B)
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 8void 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#define PERF_REG_IP PERF_REG_S390_PC 15#define PERF_REG_SP PERF_REG_S390_R15 16 17#endif /* ARCH_PERF_REGS_H */