diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-27 16:51:18 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-28 22:19:35 +0200 |
commit | 2da39f1cc36bff4cc53dc32a4afb3def488cc766 (patch) | |
tree | 21dff07c7b28727147d8a166caaccca55a5a6fc0 /tools/perf/util/evsel.c | |
parent | perf tools: Remove needless util.h include from builtin.h (diff) | |
download | linux-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/evsel.c')
-rw-r--r-- | tools/perf/util/evsel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index d4540bfe4574..dbc04e1053a9 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -40,6 +40,7 @@ #include "stat.h" #include "string2.h" #include "memswap.h" +#include "util.h" #include "util/parse-branch-options.h" #include <internal/xyarray.h> |