Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef ARCH_PERF_REGS_H
0003 #define ARCH_PERF_REGS_H
0004 
0005 #include <stdlib.h>
0006 #include <linux/types.h>
0007 #include <asm/perf_regs.h>
0008 
0009 void perf_regs_load(u64 *regs);
0010 
0011 #define PERF_REGS_MASK  ((1ULL << PERF_REG_ARM_MAX) - 1)
0012 #define PERF_REGS_MAX   PERF_REG_ARM_MAX
0013 #define PERF_SAMPLE_REGS_ABI    PERF_SAMPLE_REGS_ABI_32
0014 
0015 #define PERF_REG_IP PERF_REG_ARM_PC
0016 #define PERF_REG_SP PERF_REG_ARM_SP
0017 
0018 #endif /* ARCH_PERF_REGS_H */