summaryrefslogtreecommitdiff
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-12-16 05:55:36 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-12-17 01:57:09 +0300
commitf7ea534a0920dbaf71a8003936e178e14ec9271d (patch)
tree04a5df6a9fb42df10afecf606a8fdf1198c2cc75 /include/linux/perf_event.h
parent1a6369ba624929c8bfa412045af79dbf7703b8c8 (diff)
downloadlinux-f7ea534a0920dbaf71a8003936e178e14ec9271d.tar.xz
add includes masked by cgroup -> bpf dependency
cgroup pulls in BPF which pulls in a lot of includes. We're about to break that chain so fix those who were depending on it. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211216025538.1649516-2-kuba@kernel.org
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 0dcfd265beed..4a021149eaf0 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -611,6 +611,7 @@ struct swevent_hlist {
#define PERF_ATTACH_SCHED_CB 0x20
#define PERF_ATTACH_CHILD 0x40
+struct bpf_prog;
struct perf_cgroup;
struct perf_buffer;