summaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf_kwork.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2022-10-27 16:49:58 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-31 11:06:46 -0300
commit628d69995e66343266475e6afc76192f5878b605 (patch)
tree7959406fb973db3a7c29bcafb2325c172ba3b380 /tools/perf/util/bpf_kwork.c
parent9823147da6c893d9295949e5ed982a8630deb6db (diff)
downloadlwn-628d69995e66343266475e6afc76192f5878b605.tar.gz
lwn-628d69995e66343266475e6afc76192f5878b605.zip
perf kwork: Remove includes not needed in kwork.h
Leave just some forward declarations for pointers, move the includes to where they are really needed. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/bpf_kwork.c')
-rw-r--r--tools/perf/util/bpf_kwork.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/bpf_kwork.c b/tools/perf/util/bpf_kwork.c
index b629dd679d3f..6eb2c78fd7f4 100644
--- a/tools/perf/util/bpf_kwork.c
+++ b/tools/perf/util/bpf_kwork.c
@@ -7,15 +7,18 @@
#include <time.h>
#include <fcntl.h>
+#include <signal.h>
#include <stdio.h>
#include <unistd.h>
#include <linux/time64.h>
#include "util/debug.h"
+#include "util/evsel.h"
#include "util/kwork.h"
#include <bpf/bpf.h>
+#include <perf/cpumap.h>
#include "util/bpf_skel/kwork_trace.skel.h"