perf_event.h 380 B

123456789101112131415
  1. #ifndef __ASM_ALPHA_PERF_EVENT_H
  2. #define __ASM_ALPHA_PERF_EVENT_H
  3. /* Alpha only supports software events through this interface. */
  4. extern void set_perf_event_pending(void);
  5. #define PERF_EVENT_INDEX_OFFSET 0
  6. #ifdef CONFIG_PERF_EVENTS
  7. extern void init_hw_perf_events(void);
  8. #else
  9. static inline void init_hw_perf_events(void) { }
  10. #endif
  11. #endif /* __ASM_ALPHA_PERF_EVENT_H */