diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-27 21:49:58 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-31 15:06:46 +0100 |
commit | 628d69995e66343266475e6afc76192f5878b605 (patch) | |
tree | 7959406fb973db3a7c29bcafb2325c172ba3b380 /tools/perf/util/kwork.h | |
parent | perf tools: Move 'struct perf_sample' to a separate header file to disentangl... (diff) | |
download | linux-628d69995e66343266475e6afc76192f5878b605.tar.xz linux-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/kwork.h')
-rw-r--r-- | tools/perf/util/kwork.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/perf/util/kwork.h b/tools/perf/util/kwork.h index 320c0a6d2e08..53b7327550b8 100644 --- a/tools/perf/util/kwork.h +++ b/tools/perf/util/kwork.h @@ -1,16 +1,16 @@ #ifndef PERF_UTIL_KWORK_H #define PERF_UTIL_KWORK_H -#include "perf.h" - #include "util/tool.h" -#include "util/event.h" -#include "util/evlist.h" -#include "util/session.h" #include "util/time-utils.h" -#include <linux/list.h> #include <linux/bitmap.h> +#include <linux/list.h> +#include <linux/rbtree.h> +#include <linux/types.h> + +struct perf_sample; +struct perf_session; enum kwork_class_type { KWORK_CLASS_IRQ, |