mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 19:14:30 +08:00
a582e6f01b
In the kernel the patch enables configuration of the perf event option, adds the perf_event_open syscall, and includes a minimal architecture specific asm/perf_event.h header file. Signed-off-by: Michael Cree <mcree@orcon.net.nz> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Matt Turner <mattst88@gmail.com>
10 lines
259 B
C
10 lines
259 B
C
#ifndef __ASM_ALPHA_PERF_EVENT_H
|
|
#define __ASM_ALPHA_PERF_EVENT_H
|
|
|
|
/* Alpha only supports software events through this interface. */
|
|
static inline void set_perf_event_pending(void) { }
|
|
|
|
#define PERF_EVENT_INDEX_OFFSET 0
|
|
|
|
#endif /* __ASM_ALPHA_PERF_EVENT_H */
|