pref tools: Add missing map.h includes
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 27 Jan 2019 12:42:37 +0000 (13:42 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:38 +0000 (10:00 -0300)
Lots of places get the map.h file indirectly, and since we're going to
remove it from machine.h, then those need to include it directly, do it
now, before we remove that dep.

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-ob8jehdjda8h5jsrv9dqj9tf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
35 files changed:
tools/perf/builtin-annotate.c
tools/perf/builtin-inject.c
tools/perf/builtin-kallsyms.c
tools/perf/builtin-kmem.c
tools/perf/builtin-mem.c
tools/perf/builtin-report.c
tools/perf/builtin-script.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/tests/code-reading.c
tools/perf/tests/hists_common.c
tools/perf/tests/hists_cumulate.c
tools/perf/tests/hists_filter.c
tools/perf/tests/hists_output.c
tools/perf/tests/mmap-thread-lookup.c
tools/perf/ui/browsers/annotate.c
tools/perf/ui/browsers/hists.c
tools/perf/util/annotate.c
tools/perf/util/build-id.c
tools/perf/util/callchain.c
tools/perf/util/db-export.c
tools/perf/util/dso.c
tools/perf/util/event.c
tools/perf/util/intel-bts.c
tools/perf/util/probe-event.c
tools/perf/util/scripting-engines/trace-event-perl.c
tools/perf/util/scripting-engines/trace-event-python.c
tools/perf/util/session.c
tools/perf/util/sort.c
tools/perf/util/symbol-elf.c
tools/perf/util/symbol.c
tools/perf/util/unwind-libdw.c
tools/perf/util/unwind-libunwind-local.c
tools/perf/util/unwind-libunwind.c
tools/perf/util/vdso.c

index 20db635347e5177f42dcd6ca029f8c6d720523d1..7f3c3fea67b48b4fa2819b4b439571568038f1d5 100644 (file)
@@ -27,6 +27,7 @@
 #include "util/thread.h"
 #include "util/sort.h"
 #include "util/hist.h"
+#include "util/map.h"
 #include "util/session.h"
 #include "util/tool.h"
 #include "util/data.h"
index eda41673c4f3c6360a821a625127917993f8a485..3499addcfc12e1b5a12fa2ce00c6357522f4c914 100644 (file)
@@ -12,6 +12,7 @@
 #include "util/color.h"
 #include "util/evlist.h"
 #include "util/evsel.h"
+#include "util/map.h"
 #include "util/session.h"
 #include "util/tool.h"
 #include "util/debug.h"
index 90d1a2305b7288450830042f90f3ee7b66e1290b..bc7a2bc7aed7dd8c2583864ac80365f04a9ba473 100644 (file)
@@ -13,6 +13,7 @@
 #include <subcmd/parse-options.h>
 #include "debug.h"
 #include "machine.h"
+#include "map.h"
 #include "symbol.h"
 
 static int __cmd_kallsyms(int argc, const char **argv)
index 088705c167bfa05a353087bff268b51c6c962947..b80ec0883537a5436773692bf99ea8067425c299 100644 (file)
@@ -6,6 +6,7 @@
 #include "util/evsel.h"
 #include "util/util.h"
 #include "util/config.h"
+#include "util/map.h"
 #include "util/symbol.h"
 #include "util/thread.h"
 #include "util/header.h"
index 57393e94d1561f8e9a7611f787f30147f25ca6c8..ba7e8d87dec33cf20e5fccc7a7ba93926273a73e 100644 (file)
@@ -13,6 +13,7 @@
 #include "util/data.h"
 #include "util/mem-events.h"
 #include "util/debug.h"
+#include "util/map.h"
 #include "util/symbol.h"
 
 #define MEM_OPERATION_LOAD     0x1
index c9ceaf88759cadb58d4870044fb4fdbc7db28996..a007ea9a387434cec7de5e7bbbd336c5ce65d14c 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/list.h>
 #include <linux/rbtree.h>
 #include <linux/err.h>
+#include "util/map.h"
 #include "util/symbol.h"
 #include "util/callchain.h"
 #include "util/values.h"
index ac221f137ed2aa96665add3861d5a2655e8c18c6..8d5fe092525c66fb0cf303a1990e2c52083e940d 100644 (file)
@@ -10,6 +10,7 @@
 #include "util/perf_regs.h"
 #include "util/session.h"
 #include "util/tool.h"
+#include "util/map.h"
 #include "util/symbol.h"
 #include "util/thread.h"
 #include "util/trace-event.h"
index 57b1d7495d02f6692c89d53201698b4273aaa9fb..619406339e4b91ccb94b2f7bb48a5678d41cd641 100644 (file)
@@ -30,6 +30,7 @@
 #include "util/evsel.h"
 #include "util/event.h"
 #include "util/machine.h"
+#include "util/map.h"
 #include "util/session.h"
 #include "util/symbol.h"
 #include "util/thread.h"
index 1447993e1ee37a3d4d8786e37abda45c850f7bfe..c0b91595d6e3b9983e289c7bf6f4a9138fbd3442 100644 (file)
@@ -29,6 +29,7 @@
 #include "util/evlist.h"
 #include <subcmd/exec-cmd.h>
 #include "util/machine.h"
+#include "util/map.h"
 #include "util/path.h"
 #include "util/session.h"
 #include "util/thread.h"
index dbf2c69944d25c87f3f7f4b50d259cd7754d724f..59d00b3d0a74646a1ac7f56ba2a3ad422dcba234 100644 (file)
@@ -15,6 +15,7 @@
 #include "thread_map.h"
 #include "cpumap.h"
 #include "machine.h"
+#include "map.h"
 #include "event.h"
 #include "thread.h"
 
index 6b0649c8b33e6fb025a5774d4f8dffbc4bc6c51c..469958cd7fe0ffea642f68c93d1e3865e57896de 100644 (file)
@@ -2,6 +2,7 @@
 #include <inttypes.h>
 #include "perf.h"
 #include "util/debug.h"
+#include "util/map.h"
 #include "util/symbol.h"
 #include "util/sort.h"
 #include "util/evsel.h"
index 4ca417d1a06bb08360660bdf615da9b7224f0d01..7a2eed6c783ec83cd4284f47ec0c1c99fabcf791 100644 (file)
@@ -2,6 +2,7 @@
 #include "perf.h"
 #include "util/debug.h"
 #include "util/event.h"
+#include "util/map.h"
 #include "util/symbol.h"
 #include "util/sort.h"
 #include "util/evsel.h"
index 1c5bedab3c2c1564e7120cdcd362f7af273b5235..975844807fe2bb13ba43e6c444e11d009e4aa81e 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 #include "perf.h"
 #include "util/debug.h"
+#include "util/map.h"
 #include "util/symbol.h"
 #include "util/sort.h"
 #include "util/evsel.h"
index 6c4bc68a77ee51c7c366e63516e9012c5203a50e..0a510c524a5de83d0ad08a92068c97e9beb93edf 100644 (file)
@@ -2,6 +2,7 @@
 #include "perf.h"
 #include "util/debug.h"
 #include "util/event.h"
+#include "util/map.h"
 #include "util/symbol.h"
 #include "util/sort.h"
 #include "util/evsel.h"
index 5ede9b561d32b70bcba99775212d0c316ebda5a4..ba87e6e8d18c59362f6be9abcc15e897db1ad118 100644 (file)
@@ -11,6 +11,7 @@
 #include "tests.h"
 #include "machine.h"
 #include "thread_map.h"
+#include "map.h"
 #include "symbol.h"
 #include "thread.h"
 #include "util.h"
index 82e16bf84466001e950690e41e2b555824fdef6a..35bdfd8b1e7198ece317015d68685b86e2fb943c 100644 (file)
@@ -7,6 +7,7 @@
 #include "../../util/annotate.h"
 #include "../../util/hist.h"
 #include "../../util/sort.h"
+#include "../../util/map.h"
 #include "../../util/symbol.h"
 #include "../../util/evsel.h"
 #include "../../util/evlist.h"
index 85790a4d184244225c55a297cbf7b5bcd05d94a7..8ada0c690771889f8c40dfe24a9a64fba15b7e1b 100644 (file)
@@ -11,6 +11,7 @@
 #include "../../util/evsel.h"
 #include "../../util/evlist.h"
 #include "../../util/hist.h"
+#include "../../util/map.h"
 #include "../../util/pstack.h"
 #include "../../util/sort.h"
 #include "../../util/util.h"
index 3d79add5f7aeadd0e5303e2a555c16d06cfce465..2468b8aa0b6bd31880fd1e83449fafbeeddfd431 100644 (file)
@@ -17,6 +17,7 @@
 #include "color.h"
 #include "config.h"
 #include "cache.h"
+#include "map.h"
 #include "symbol.h"
 #include "units.h"
 #include "debug.h"
index 2ff802068f065fc4c1ae07caced1dca9fdd5ad86..bff0d17920ed7dd6a386f31b6377e2cfb6353165 100644 (file)
@@ -16,6 +16,7 @@
 #include "build-id.h"
 #include "event.h"
 #include "namespaces.h"
+#include "map.h"
 #include "symbol.h"
 #include "thread.h"
 #include <linux/kernel.h>
index 2974950039acc3375efe416a5a3383e962cc17dd..cc47dba973f2199479b859ab9630222b1e92d4a3 100644 (file)
@@ -23,6 +23,7 @@
 #include "util.h"
 #include "sort.h"
 #include "machine.h"
+#include "map.h"
 #include "callchain.h"
 #include "branch.h"
 
index 69fbb0a72d0cb670116f56eb76fdfec662c0f5fe..de9b4769d06c9565a7011ff49058cf7f3048d9d7 100644 (file)
@@ -20,6 +20,7 @@
 #include "thread.h"
 #include "comm.h"
 #include "symbol.h"
+#include "map.h"
 #include "event.h"
 #include "util.h"
 #include "thread-stack.h"
index a8a54115b115b12df0f34f03f83af7a334268ec7..ba58ba603b69c800454688d21bbb5d7134d5abac 100644 (file)
@@ -12,6 +12,7 @@
 #include "compress.h"
 #include "namespaces.h"
 #include "path.h"
+#include "map.h"
 #include "symbol.h"
 #include "srcline.h"
 #include "dso.h"
index 1b5091a3d14f836d50e998eb17d8ee570b134e2f..4d84e7754be9a8e2e3810e77e27242e83dabd73f 100644 (file)
@@ -21,6 +21,7 @@
 #include "thread.h"
 #include "thread_map.h"
 #include "sane_ctype.h"
+#include "map.h"
 #include "symbol/kallsyms.h"
 #include "asm/bug.h"
 #include "stat.h"
index ee6ca65f81f4769d59bb7d2550af42ad30747fc7..f7fe8ccf6d658353520852580a2c24bb2315bfd8 100644 (file)
@@ -27,6 +27,7 @@
 #include "evsel.h"
 #include "evlist.h"
 #include "machine.h"
+#include "map.h"
 #include "session.h"
 #include "util.h"
 #include "thread.h"
index 4008f0cc36e5658480331eeb7cfcf2ec7fddbd01..b0192160513d604627f30814d72602531484b1b0 100644 (file)
@@ -41,6 +41,7 @@
 #include "debug.h"
 #include "cache.h"
 #include "color.h"
+#include "map.h"
 #include "symbol.h"
 #include "thread.h"
 #include <api/fs/fs.h>
index b93f36b887b5f11a489ec8dbc9c3454e390188d4..a9f22694eed16640b47d093d21c9912da96c487d 100644 (file)
@@ -37,6 +37,7 @@
 #include "../../perf.h"
 #include "../callchain.h"
 #include "../machine.h"
+#include "../map.h"
 #include "../thread.h"
 #include "../event.h"
 #include "../trace-event.h"
index 7059d1be2d09831631708c3c94446fec0c7ab471..d9c83776a80fa1cc69d7fbdc7ae1f5880ed871ea 100644 (file)
@@ -44,6 +44,7 @@
 #include "../thread-stack.h"
 #include "../trace-event.h"
 #include "../call-path.h"
+#include "map.h"
 #include "thread_map.h"
 #include "cpumap.h"
 #include "print_binary.h"
index 24fd62528a3385280be46f95d3678507bba7edc7..e9755a649993d1fe69f5067f163bb88e708dbed2 100644 (file)
@@ -13,6 +13,7 @@
 #include "evlist.h"
 #include "evsel.h"
 #include "memswap.h"
+#include "map.h"
 #include "session.h"
 #include "tool.h"
 #include "sort.h"
index 6c1a83768eb0a219bb015901381b91581e2a9642..79e794406befd2dcd6c0a89ab3f1cbd72390ce51 100644 (file)
@@ -6,6 +6,7 @@
 #include "sort.h"
 #include "hist.h"
 #include "comm.h"
+#include "map.h"
 #include "symbol.h"
 #include "thread.h"
 #include "evsel.h"
index 66a84d5846c88ed912aff027943c6f8e9ff78ff2..848d1a0f8dc09562c6c982ef1390649160862c3a 100644 (file)
@@ -6,6 +6,7 @@
 #include <unistd.h>
 #include <inttypes.h>
 
+#include "map.h"
 #include "symbol.h"
 #include "demangle-java.h"
 #include "demangle-rust.h"
index bcbcbd6104602787c490105e216373dd36e892fd..7b194cf53cc0ad634f89eead409ab5526b6375e0 100644 (file)
@@ -17,6 +17,7 @@
 #include "util.h"
 #include "debug.h"
 #include "machine.h"
+#include "map.h"
 #include "symbol.h"
 #include "strlist.h"
 #include "intlist.h"
index 5eff9bfc575836e0c6efd70cc82ee8f5a69bc283..8ea7c89e73fd40e67543dfee98913d5db574ad2b 100644 (file)
@@ -8,6 +8,7 @@
 #include "unwind.h"
 #include "unwind-libdw.h"
 #include "machine.h"
+#include "map.h"
 #include "thread.h"
 #include <linux/types.h>
 #include "event.h"
index 79f521a552cf5156b97835728305e72c6cba26aa..f3c666a84e4d5015ee864b71ba1d6fbe2b92168e 100644 (file)
@@ -34,6 +34,7 @@
 #include "session.h"
 #include "perf_regs.h"
 #include "unwind.h"
+#include "map.h"
 #include "symbol.h"
 #include "util.h"
 #include "debug.h"
index b029a5e9ae4990c06d737f012973fcc79034f16c..9778b3133b7780b0ec49918d2c83d54d43bf6415 100644 (file)
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 #include "unwind.h"
+#include "map.h"
 #include "thread.h"
 #include "session.h"
 #include "debug.h"
index 3702cba11d7dd32330b0463224361c300e79f150..5031b7b22bbd8fec4df5e5f92f25314753c9fe57 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "vdso.h"
 #include "util.h"
+#include "map.h"
 #include "symbol.h"
 #include "machine.h"
 #include "thread.h"