summaryrefslogtreecommitdiff
path: root/samples/bpf/test_current_task_under_cgroup_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/test_current_task_under_cgroup_kern.c')
-rw-r--r--samples/bpf/test_current_task_under_cgroup_kern.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/bpf/test_current_task_under_cgroup_kern.c b/samples/bpf/test_current_task_under_cgroup_kern.c
index 541fc861b984..0b059cee3cba 100644
--- a/samples/bpf/test_current_task_under_cgroup_kern.c
+++ b/samples/bpf/test_current_task_under_cgroup_kern.c
@@ -5,11 +5,9 @@
* License as published by the Free Software Foundation.
*/
-#include <linux/ptrace.h>
-#include <uapi/linux/bpf.h>
+#include "vmlinux.h"
#include <linux/version.h>
#include <bpf/bpf_helpers.h>
-#include <uapi/linux/utsname.h>
struct {
__uint(type, BPF_MAP_TYPE_CGROUP_ARRAY);