xref: /linux/arch/alpha/include/asm/perf_event.h (revision 12d5fc96ebbb3b948861805b32a4c3a96105ccd9)
1 #ifndef __ASM_ALPHA_PERF_EVENT_H
2 #define __ASM_ALPHA_PERF_EVENT_H
3 
4 /*
5  * Software events have no trap frame, so perf_fetch_caller_regs() fills
6  * in a zeroed pt_regs. A zero ps already means kernel mode; only pc is
7  * missing.
8  */
9 #define perf_arch_fetch_caller_regs(regs, __ip)	((regs)->pc = (__ip))
10 
11 #endif /* __ASM_ALPHA_PERF_EVENT_H */
12