summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_uprobe.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-12-16 03:55:37 +0100
committerAlexei Starovoitov <ast@kernel.org>2021-12-16 23:57:09 +0100
commitaef2feda97b840ec38e9fa53d0065188453304e8 (patch)
tree37ce343e36a71cf2596fc98e4b1ee929f007007d /kernel/trace/trace_uprobe.c
parentadd includes masked by cgroup -> bpf dependency (diff)
downloadlinux-aef2feda97b840ec38e9fa53d0065188453304e8.tar.xz
linux-aef2feda97b840ec38e9fa53d0065188453304e8.zip
add missing bpf-cgroup.h includes
We're about to break the cgroup-defs.h -> bpf-cgroup.h dependency, make sure those who actually need more than the definition of struct cgroup_bpf include bpf-cgroup.h explicitly. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/bpf/20211216025538.1649516-3-kuba@kernel.org
Diffstat (limited to 'kernel/trace/trace_uprobe.c')
-rw-r--r--kernel/trace/trace_uprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c
index f5f0039d31e5..4f35514a48f3 100644
--- a/kernel/trace/trace_uprobe.c
+++ b/kernel/trace/trace_uprobe.c
@@ -7,6 +7,7 @@
*/
#define pr_fmt(fmt) "trace_uprobe: " fmt
+#include <linux/bpf-cgroup.h>
#include <linux/security.h>
#include <linux/ctype.h>
#include <linux/module.h>