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/arch/x86 | |
parent | efa73d37c11af5082a5605665186c368f1196381 (diff) | |
download | linux-stable-2da39f1cc36bff4cc53dc32a4afb3def488cc766.tar.gz linux-stable-2da39f1cc36bff4cc53dc32a4afb3def488cc766.tar.bz2 linux-stable-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/arch/x86')
-rw-r--r-- | tools/perf/arch/x86/util/intel-bts.c | 1 | ||||
-rw-r--r-- | tools/perf/arch/x86/util/intel-pt.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/intel-bts.c b/tools/perf/arch/x86/util/intel-bts.c index 16d26ea701ad..e4bb5df9b731 100644 --- a/tools/perf/arch/x86/util/intel-bts.c +++ b/tools/perf/arch/x86/util/intel-bts.c @@ -22,6 +22,7 @@ #include "../../util/tsc.h" #include "../../util/auxtrace.h" #include "../../util/intel-bts.h" +#include "../../util/util.h" #define KiB(x) ((x) * 1024) #define MiB(x) ((x) * 1024 * 1024) diff --git a/tools/perf/arch/x86/util/intel-pt.c b/tools/perf/arch/x86/util/intel-pt.c index 746981c82a16..04b424ad4d99 100644 --- a/tools/perf/arch/x86/util/intel-pt.c +++ b/tools/perf/arch/x86/util/intel-pt.c @@ -26,6 +26,7 @@ #include "../../util/record.h" #include "../../util/target.h" #include "../../util/tsc.h" +#include "../../util/util.h" #include "../../util/intel-pt.h" #define KiB(x) ((x) * 1024) |