xref: /linux/arch/alpha/include/asm/perf_event.h (revision 606b2f490fb80e55d05cf0e6cec0b6c0ff0fc18f)
1 #ifndef __ASM_ALPHA_PERF_EVENT_H
2 #define __ASM_ALPHA_PERF_EVENT_H
3 
4 /* Alpha only supports software events through this interface. */
5 extern void set_perf_event_pending(void);
6 
7 #define PERF_EVENT_INDEX_OFFSET 0
8 
9 #ifdef CONFIG_PERF_EVENTS
10 extern void init_hw_perf_events(void);
11 #else
12 static inline void init_hw_perf_events(void)    { }
13 #endif
14 
15 #endif /* __ASM_ALPHA_PERF_EVENT_H */
16