aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/bpf_perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/bpf_perf_event.h')
-rw-r--r--include/uapi/linux/bpf_perf_event.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/uapi/linux/bpf_perf_event.h b/include/uapi/linux/bpf_perf_event.h
index af549d4ecf1b..8f95303f9d80 100644
--- a/include/uapi/linux/bpf_perf_event.h
+++ b/include/uapi/linux/bpf_perf_event.h
@@ -8,11 +8,10 @@
#ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__
#define _UAPI__LINUX_BPF_PERF_EVENT_H__
-#include <linux/types.h>
-#include <linux/ptrace.h>
+#include <asm/bpf_perf_event.h>
struct bpf_perf_event_data {
- struct pt_regs regs;
+ bpf_user_pt_regs_t regs;
__u64 sample_period;
};