2009-12-08 14:27:01 -05:00
|
|
|
#ifndef __ASM_ALPHA_PERF_EVENT_H
|
|
|
|
#define __ASM_ALPHA_PERF_EVENT_H
|
|
|
|
|
|
|
|
/* Alpha only supports software events through this interface. */
|
2010-08-09 17:20:08 -07:00
|
|
|
extern void set_perf_event_pending(void);
|
2009-12-08 14:27:01 -05:00
|
|
|
|
|
|
|
#define PERF_EVENT_INDEX_OFFSET 0
|
|
|
|
|
2010-08-09 17:20:08 -07:00
|
|
|
#ifdef CONFIG_PERF_EVENTS
|
|
|
|
extern void init_hw_perf_events(void);
|
|
|
|
#else
|
|
|
|
static inline void init_hw_perf_events(void) { }
|
|
|
|
#endif
|
|
|
|
|
2009-12-08 14:27:01 -05:00
|
|
|
#endif /* __ASM_ALPHA_PERF_EVENT_H */
|