summaryrefslogtreecommitdiff
path: root/samples/bpf/test_overhead_tp_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/test_overhead_tp_kern.c')
-rw-r--r--samples/bpf/test_overhead_tp_kern.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/bpf/test_overhead_tp_kern.c b/samples/bpf/test_overhead_tp_kern.c
index f170e9b1ea21..67cab3881969 100644
--- a/samples/bpf/test_overhead_tp_kern.c
+++ b/samples/bpf/test_overhead_tp_kern.c
@@ -4,8 +4,7 @@
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*/
-#include <linux/sched.h>
-#include <uapi/linux/bpf.h>
+#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
/* from /sys/kernel/debug/tracing/events/task/task_rename/format */