aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/test_overhead_kprobe_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/test_overhead_kprobe_kern.c')
-rw-r--r--samples/bpf/test_overhead_kprobe_kern.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/bpf/test_overhead_kprobe_kern.c b/samples/bpf/test_overhead_kprobe_kern.c
index ba82949338c27..c3528731e0e1c 100644
--- a/samples/bpf/test_overhead_kprobe_kern.c
+++ b/samples/bpf/test_overhead_kprobe_kern.c
@@ -4,10 +4,8 @@
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*/
+#include "vmlinux.h"
#include <linux/version.h>
-#include <linux/ptrace.h>
-#include <linux/sched.h>
-#include <uapi/linux/bpf.h>
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_tracing.h>