diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-27 11:51:18 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-28 17:19:35 -0300 |
commit | 2da39f1cc36bff4cc53dc32a4afb3def488cc766 (patch) | |
tree | 21dff07c7b28727147d8a166caaccca55a5a6fc0 /tools/perf/builtin-top.c | |
parent | efa73d37c11af5082a5605665186c368f1196381 (diff) | |
download | lwn-2da39f1cc36bff4cc53dc32a4afb3def488cc766.tar.gz lwn-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/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 29e910fb2d9a..42ba733c9045 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -34,6 +34,7 @@ #include "util/thread.h" #include "util/thread_map.h" #include "util/top.h" +#include "util/util.h" #include <linux/rbtree.h> #include <subcmd/parse-options.h> #include "util/parse-events.h" |