summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-27 16:51:18 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-28 22:19:35 +0200
commit2da39f1cc36bff4cc53dc32a4afb3def488cc766 (patch)
tree21dff07c7b28727147d8a166caaccca55a5a6fc0 /tools/perf/util/session.c
parentperf tools: Remove needless util.h include from builtin.h (diff)
downloadlinux-2da39f1cc36bff4cc53dc32a4afb3def488cc766.tar.xz
linux-2da39f1cc36bff4cc53dc32a4afb3def488cc766.zip
perf evlist: Remove needless util.h from evlist.h
There is no need for that util/util.h include there and, remove it, pruning the include tree, fix the fallout by adding necessary headers to places that were getting needed includes indirectly from evlist.h -> util.h. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-s9f7uve8wvykr5itcm7m7d8q@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/session.c')
-rw-r--r--tools/perf/util/session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 5786e9c807c5..a275f2e15b94 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -29,6 +29,7 @@
#include "thread-stack.h"
#include "sample-raw.h"
#include "stat.h"
+#include "util.h"
#include "arch/common.h"
#ifdef HAVE_ZSTD_SUPPORT