2009-12-08 19:27:01 +00:00
|
|
|
#ifndef __ASM_ALPHA_PERF_EVENT_H
|
|
|
|
#define __ASM_ALPHA_PERF_EVENT_H
|
|
|
|
|
|
|
|
/* Alpha only supports software events through this interface. */
|
2010-08-10 00:20:08 +00:00
|
|
|
extern void set_perf_event_pending(void);
|
2009-12-08 19:27:01 +00:00
|
|
|
|
|
|
|
#define PERF_EVENT_INDEX_OFFSET 0
|
|
|
|
|
2010-08-10 00:20:08 +00: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 19:27:01 +00:00
|
|
|
#endif /* __ASM_ALPHA_PERF_EVENT_H */
|