1 #ifndef __ASM_SPARC_PERF_EVENT_H
2 #define __ASM_SPARC_PERF_EVENT_H
4 extern void set_perf_event_pending(void);
6 #define PERF_EVENT_INDEX_OFFSET 0
8 #ifdef CONFIG_PERF_EVENTS
9 #include <asm/ptrace.h>
11 extern void init_hw_perf_events(void);
14 __perf_arch_fetch_caller_regs(struct pt_regs *regs, unsigned long ip, int skip);
16 #define perf_arch_fetch_caller_regs(pt_regs, ip) \
17 __perf_arch_fetch_caller_regs(pt_regs, ip, 1);
19 static inline void init_hw_perf_events(void) { }