Go to the documentation of this file.
17 #ifdef CONFIG_PPC_PERF_CTRS
21 #ifdef CONFIG_FSL_EMB_PERF_EVENT
25 #ifdef CONFIG_PERF_EVENTS
26 #include <asm/ptrace.h>
33 #define perf_arch_fetch_caller_regs(regs, __ip) \
37 (regs)->gpr[1] = *(unsigned long *)__get_SP(); \
38 asm volatile("mfmsr %0" : "=r" ((regs)->msr)); \