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