summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/perf_event.h')
-rw-r--r--arch/alpha/include/asm/perf_event.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/perf_event.h b/arch/alpha/include/asm/perf_event.h
new file mode 100644
index 00000000000..3bef8522017
--- /dev/null
+++ b/arch/alpha/include/asm/perf_event.h
@@ -0,0 +1,9 @@
+#ifndef __ASM_ALPHA_PERF_EVENT_H
+#define __ASM_ALPHA_PERF_EVENT_H
+
+/* Alpha only supports software events through this interface. */
+static inline void set_perf_event_pending(void) { }
+
+#define PERF_EVENT_INDEX_OFFSET 0
+
+#endif /* __ASM_ALPHA_PERF_EVENT_H */