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-report.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-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 318b0b95c14c..0338916af4bf 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -44,6 +44,7 @@ #include "util/auxtrace.h" #include "util/units.h" #include "util/branch.h" +#include "util/util.h" #include <dlfcn.h> #include <errno.h> |