pref tools: Add missing map.h includes

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>
This commit is contained in:
Arnaldo Carvalho de Melo 2019-01-27 13:42:37 +01:00
parent 9f4e8ff27a
commit 1101f69af5
35 changed files with 35 additions and 0 deletions

View 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"

View 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"

View 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)

View 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"

View 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

View 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"

View 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"

View 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"

View 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"

View File

@ -15,6 +15,7 @@
#include "thread_map.h"
#include "cpumap.h"
#include "machine.h"
#include "map.h"
#include "event.h"
#include "thread.h"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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>

View File

@ -23,6 +23,7 @@
#include "util.h"
#include "sort.h"
#include "machine.h"
#include "map.h"
#include "callchain.h"
#include "branch.h"

View 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"

View 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"

View 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"

View 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"

View 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>

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View File

@ -11,6 +11,7 @@
#include "vdso.h"
#include "util.h"
#include "map.h"
#include "symbol.h"
#include "machine.h"
#include "thread.h"