summaryrefslogtreecommitdiff
path: root/arch/alpha/include/asm/perf_event.h
blob: 72536566014a0ac847f3d8c11fbe61ddf184e525 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __ASM_ALPHA_PERF_EVENT_H
#define __ASM_ALPHA_PERF_EVENT_H

/*
 * Software events have no trap frame, so perf_fetch_caller_regs() fills
 * in a zeroed pt_regs. A zero ps already means kernel mode; only pc is
 * missing.
 */
#define perf_arch_fetch_caller_regs(regs, __ip)	((regs)->pc = (__ip))

#endif /* __ASM_ALPHA_PERF_EVENT_H */