summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/include/asm/perf_event.h')
-rw-r--r--arch/arc/include/asm/perf_event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/include/asm/perf_event.h b/arch/arc/include/asm/perf_event.h
index 4c919c0f4b30..d5719a260864 100644
--- a/arch/arc/include/asm/perf_event.h
+++ b/arch/arc/include/asm/perf_event.h
@@ -63,4 +63,8 @@ struct arc_reg_cc_build {
#define PERF_COUNT_ARC_HW_MAX (PERF_COUNT_HW_MAX + 8)
+#ifdef CONFIG_PERF_EVENTS
+#define perf_arch_bpf_user_pt_regs(regs) (struct user_regs_struct *)regs
+#endif
+
#endif /* __ASM_PERF_EVENT_H */