Back to home page

OSCL-LXR

 
 

    


0001 #ifndef ARCH_PERF_REGS_H
0002 #define ARCH_PERF_REGS_H
0003 
0004 #include <stdlib.h>
0005 #include <linux/types.h>
0006 #include <asm/perf_regs.h>
0007 
0008 void perf_regs_load(u64 *regs);
0009 
0010 #define PERF_REGS_MASK ((1ULL << PERF_REG_S390_MAX) - 1)
0011 #define PERF_REGS_MAX PERF_REG_S390_MAX
0012 #define PERF_SAMPLE_REGS_ABI PERF_SAMPLE_REGS_ABI_64
0013 
0014 #define PERF_REG_IP PERF_REG_S390_PC
0015 #define PERF_REG_SP PERF_REG_S390_R15
0016 
0017 #endif /* ARCH_PERF_REGS_H */