summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/perf_event.h
blob: 4157cd3c44a96d2811410b334a35f11923ba6fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __ASM_ALPHA_PERF_EVENT_H
#define __ASM_ALPHA_PERF_EVENT_H

/* Alpha only supports software events through this interface. */
extern void set_perf_event_pending(void);

#define PERF_EVENT_INDEX_OFFSET 0

#ifdef CONFIG_PERF_EVENTS
extern void init_hw_perf_events(void);
#else
static inline void init_hw_perf_events(void)    { }
#endif

#endif /* __ASM_ALPHA_PERF_EVENT_H */