diff options
Diffstat (limited to 'include/uapi/linux/bpf_perf_event.h')
-rw-r--r-- | include/uapi/linux/bpf_perf_event.h | 5 |
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 @@ | |||
8 | #ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__ | 8 | #ifndef _UAPI__LINUX_BPF_PERF_EVENT_H__ |
9 | #define _UAPI__LINUX_BPF_PERF_EVENT_H__ | 9 | #define _UAPI__LINUX_BPF_PERF_EVENT_H__ |
10 | 10 | ||
11 | #include <linux/types.h> | 11 | #include <asm/bpf_perf_event.h> |
12 | #include <linux/ptrace.h> | ||
13 | 12 | ||
14 | struct bpf_perf_event_data { | 13 | struct bpf_perf_event_data { |
15 | struct pt_regs regs; | 14 | bpf_user_pt_regs_t regs; |
16 | __u64 sample_period; | 15 | __u64 sample_period; |
17 | }; | 16 | }; |
18 | 17 | ||