diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-27 07:42:37 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-06 08:00:38 -0500 |
commit | 1101f69af5335a863765100d1df1999fd1e8c5bf (patch) | |
tree | 41d53c3f4e1069f81be79a8a2505783f0ac335a7 | |
parent | 9f4e8ff27a807dd6919faa0ecb2a152c57cfa5b2 (diff) |
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>
35 files changed, 35 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 20db635347e5..7f3c3fea67b4 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "util/thread.h" | 27 | #include "util/thread.h" |
28 | #include "util/sort.h" | 28 | #include "util/sort.h" |
29 | #include "util/hist.h" | 29 | #include "util/hist.h" |
30 | #include "util/map.h" | ||
30 | #include "util/session.h" | 31 | #include "util/session.h" |
31 | #include "util/tool.h" | 32 | #include "util/tool.h" |
32 | #include "util/data.h" | 33 | #include "util/data.h" |
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c index eda41673c4f3..3499addcfc12 100644 --- a/tools/perf/builtin-inject.c +++ b/tools/perf/builtin-inject.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include "util/color.h" | 12 | #include "util/color.h" |
13 | #include "util/evlist.h" | 13 | #include "util/evlist.h" |
14 | #include "util/evsel.h" | 14 | #include "util/evsel.h" |
15 | #include "util/map.h" | ||
15 | #include "util/session.h" | 16 | #include "util/session.h" |
16 | #include "util/tool.h" | 17 | #include "util/tool.h" |
17 | #include "util/debug.h" | 18 | #include "util/debug.h" |
diff --git a/tools/perf/builtin-kallsyms.c b/tools/perf/builtin-kallsyms.c index 90d1a2305b72..bc7a2bc7aed7 100644 --- a/tools/perf/builtin-kallsyms.c +++ b/tools/perf/builtin-kallsyms.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <subcmd/parse-options.h> | 13 | #include <subcmd/parse-options.h> |
14 | #include "debug.h" | 14 | #include "debug.h" |
15 | #include "machine.h" | 15 | #include "machine.h" |
16 | #include "map.h" | ||
16 | #include "symbol.h" | 17 | #include "symbol.h" |
17 | 18 | ||
18 | static int __cmd_kallsyms(int argc, const char **argv) | 19 | static int __cmd_kallsyms(int argc, const char **argv) |
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 088705c167bf..b80ec0883537 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/builtin-kmem.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include "util/evsel.h" | 6 | #include "util/evsel.h" |
7 | #include "util/util.h" | 7 | #include "util/util.h" |
8 | #include "util/config.h" | 8 | #include "util/config.h" |
9 | #include "util/map.h" | ||
9 | #include "util/symbol.h" | 10 | #include "util/symbol.h" |
10 | #include "util/thread.h" | 11 | #include "util/thread.h" |
11 | #include "util/header.h" | 12 | #include "util/header.h" |
diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c index 57393e94d156..ba7e8d87dec3 100644 --- a/tools/perf/builtin-mem.c +++ b/tools/perf/builtin-mem.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include "util/data.h" | 13 | #include "util/data.h" |
14 | #include "util/mem-events.h" | 14 | #include "util/mem-events.h" |
15 | #include "util/debug.h" | 15 | #include "util/debug.h" |
16 | #include "util/map.h" | ||
16 | #include "util/symbol.h" | 17 | #include "util/symbol.h" |
17 | 18 | ||
18 | #define MEM_OPERATION_LOAD 0x1 | 19 | #define MEM_OPERATION_LOAD 0x1 |
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index c9ceaf88759c..a007ea9a3874 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/list.h> | 16 | #include <linux/list.h> |
17 | #include <linux/rbtree.h> | 17 | #include <linux/rbtree.h> |
18 | #include <linux/err.h> | 18 | #include <linux/err.h> |
19 | #include "util/map.h" | ||
19 | #include "util/symbol.h" | 20 | #include "util/symbol.h" |
20 | #include "util/callchain.h" | 21 | #include "util/callchain.h" |
21 | #include "util/values.h" | 22 | #include "util/values.h" |
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index ac221f137ed2..8d5fe092525c 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include "util/perf_regs.h" | 10 | #include "util/perf_regs.h" |
11 | #include "util/session.h" | 11 | #include "util/session.h" |
12 | #include "util/tool.h" | 12 | #include "util/tool.h" |
13 | #include "util/map.h" | ||
13 | #include "util/symbol.h" | 14 | #include "util/symbol.h" |
14 | #include "util/thread.h" | 15 | #include "util/thread.h" |
15 | #include "util/trace-event.h" | 16 | #include "util/trace-event.h" |
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 57b1d7495d02..619406339e4b 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "util/evsel.h" | 30 | #include "util/evsel.h" |
31 | #include "util/event.h" | 31 | #include "util/event.h" |
32 | #include "util/machine.h" | 32 | #include "util/machine.h" |
33 | #include "util/map.h" | ||
33 | #include "util/session.h" | 34 | #include "util/session.h" |
34 | #include "util/symbol.h" | 35 | #include "util/symbol.h" |
35 | #include "util/thread.h" | 36 | #include "util/thread.h" |
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 1447993e1ee3..c0b91595d6e3 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "util/evlist.h" | 29 | #include "util/evlist.h" |
30 | #include <subcmd/exec-cmd.h> | 30 | #include <subcmd/exec-cmd.h> |
31 | #include "util/machine.h" | 31 | #include "util/machine.h" |
32 | #include "util/map.h" | ||
32 | #include "util/path.h" | 33 | #include "util/path.h" |
33 | #include "util/session.h" | 34 | #include "util/session.h" |
34 | #include "util/thread.h" | 35 | #include "util/thread.h" |
diff --git a/tools/perf/tests/code-reading.c b/tools/perf/tests/code-reading.c index dbf2c69944d2..59d00b3d0a74 100644 --- a/tools/perf/tests/code-reading.c +++ b/tools/perf/tests/code-reading.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include "thread_map.h" | 15 | #include "thread_map.h" |
16 | #include "cpumap.h" | 16 | #include "cpumap.h" |
17 | #include "machine.h" | 17 | #include "machine.h" |
18 | #include "map.h" | ||
18 | #include "event.h" | 19 | #include "event.h" |
19 | #include "thread.h" | 20 | #include "thread.h" |
20 | 21 | ||
diff --git a/tools/perf/tests/hists_common.c b/tools/perf/tests/hists_common.c index 6b0649c8b33e..469958cd7fe0 100644 --- a/tools/perf/tests/hists_common.c +++ b/tools/perf/tests/hists_common.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include <inttypes.h> | 2 | #include <inttypes.h> |
3 | #include "perf.h" | 3 | #include "perf.h" |
4 | #include "util/debug.h" | 4 | #include "util/debug.h" |
5 | #include "util/map.h" | ||
5 | #include "util/symbol.h" | 6 | #include "util/symbol.h" |
6 | #include "util/sort.h" | 7 | #include "util/sort.h" |
7 | #include "util/evsel.h" | 8 | #include "util/evsel.h" |
diff --git a/tools/perf/tests/hists_cumulate.c b/tools/perf/tests/hists_cumulate.c index 4ca417d1a06b..7a2eed6c783e 100644 --- a/tools/perf/tests/hists_cumulate.c +++ b/tools/perf/tests/hists_cumulate.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include "perf.h" | 2 | #include "perf.h" |
3 | #include "util/debug.h" | 3 | #include "util/debug.h" |
4 | #include "util/event.h" | 4 | #include "util/event.h" |
5 | #include "util/map.h" | ||
5 | #include "util/symbol.h" | 6 | #include "util/symbol.h" |
6 | #include "util/sort.h" | 7 | #include "util/sort.h" |
7 | #include "util/evsel.h" | 8 | #include "util/evsel.h" |
diff --git a/tools/perf/tests/hists_filter.c b/tools/perf/tests/hists_filter.c index 1c5bedab3c2c..975844807fe2 100644 --- a/tools/perf/tests/hists_filter.c +++ b/tools/perf/tests/hists_filter.c | |||
@@ -1,6 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #include "perf.h" | 2 | #include "perf.h" |
3 | #include "util/debug.h" | 3 | #include "util/debug.h" |
4 | #include "util/map.h" | ||
4 | #include "util/symbol.h" | 5 | #include "util/symbol.h" |
5 | #include "util/sort.h" | 6 | #include "util/sort.h" |
6 | #include "util/evsel.h" | 7 | #include "util/evsel.h" |
diff --git a/tools/perf/tests/hists_output.c b/tools/perf/tests/hists_output.c index 6c4bc68a77ee..0a510c524a5d 100644 --- a/tools/perf/tests/hists_output.c +++ b/tools/perf/tests/hists_output.c | |||
@@ -2,6 +2,7 @@ | |||
2 | #include "perf.h" | 2 | #include "perf.h" |
3 | #include "util/debug.h" | 3 | #include "util/debug.h" |
4 | #include "util/event.h" | 4 | #include "util/event.h" |
5 | #include "util/map.h" | ||
5 | #include "util/symbol.h" | 6 | #include "util/symbol.h" |
6 | #include "util/sort.h" | 7 | #include "util/sort.h" |
7 | #include "util/evsel.h" | 8 | #include "util/evsel.h" |
diff --git a/tools/perf/tests/mmap-thread-lookup.c b/tools/perf/tests/mmap-thread-lookup.c index 5ede9b561d32..ba87e6e8d18c 100644 --- a/tools/perf/tests/mmap-thread-lookup.c +++ b/tools/perf/tests/mmap-thread-lookup.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include "tests.h" | 11 | #include "tests.h" |
12 | #include "machine.h" | 12 | #include "machine.h" |
13 | #include "thread_map.h" | 13 | #include "thread_map.h" |
14 | #include "map.h" | ||
14 | #include "symbol.h" | 15 | #include "symbol.h" |
15 | #include "thread.h" | 16 | #include "thread.h" |
16 | #include "util.h" | 17 | #include "util.h" |
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index 82e16bf84466..35bdfd8b1e71 100644 --- a/tools/perf/ui/browsers/annotate.c +++ b/tools/perf/ui/browsers/annotate.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "../../util/annotate.h" | 7 | #include "../../util/annotate.h" |
8 | #include "../../util/hist.h" | 8 | #include "../../util/hist.h" |
9 | #include "../../util/sort.h" | 9 | #include "../../util/sort.h" |
10 | #include "../../util/map.h" | ||
10 | #include "../../util/symbol.h" | 11 | #include "../../util/symbol.h" |
11 | #include "../../util/evsel.h" | 12 | #include "../../util/evsel.h" |
12 | #include "../../util/evlist.h" | 13 | #include "../../util/evlist.h" |
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index 85790a4d1842..8ada0c690771 100644 --- a/tools/perf/ui/browsers/hists.c +++ b/tools/perf/ui/browsers/hists.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include "../../util/evsel.h" | 11 | #include "../../util/evsel.h" |
12 | #include "../../util/evlist.h" | 12 | #include "../../util/evlist.h" |
13 | #include "../../util/hist.h" | 13 | #include "../../util/hist.h" |
14 | #include "../../util/map.h" | ||
14 | #include "../../util/pstack.h" | 15 | #include "../../util/pstack.h" |
15 | #include "../../util/sort.h" | 16 | #include "../../util/sort.h" |
16 | #include "../../util/util.h" | 17 | #include "../../util/util.h" |
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 3d79add5f7ae..2468b8aa0b6b 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include "color.h" | 17 | #include "color.h" |
18 | #include "config.h" | 18 | #include "config.h" |
19 | #include "cache.h" | 19 | #include "cache.h" |
20 | #include "map.h" | ||
20 | #include "symbol.h" | 21 | #include "symbol.h" |
21 | #include "units.h" | 22 | #include "units.h" |
22 | #include "debug.h" | 23 | #include "debug.h" |
diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c index 2ff802068f06..bff0d17920ed 100644 --- a/tools/perf/util/build-id.c +++ b/tools/perf/util/build-id.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include "build-id.h" | 16 | #include "build-id.h" |
17 | #include "event.h" | 17 | #include "event.h" |
18 | #include "namespaces.h" | 18 | #include "namespaces.h" |
19 | #include "map.h" | ||
19 | #include "symbol.h" | 20 | #include "symbol.h" |
20 | #include "thread.h" | 21 | #include "thread.h" |
21 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c index 2974950039ac..cc47dba973f2 100644 --- a/tools/perf/util/callchain.c +++ b/tools/perf/util/callchain.c | |||
@@ -23,6 +23,7 @@ | |||
23 | #include "util.h" | 23 | #include "util.h" |
24 | #include "sort.h" | 24 | #include "sort.h" |
25 | #include "machine.h" | 25 | #include "machine.h" |
26 | #include "map.h" | ||
26 | #include "callchain.h" | 27 | #include "callchain.h" |
27 | #include "branch.h" | 28 | #include "branch.h" |
28 | 29 | ||
diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c index 69fbb0a72d0c..de9b4769d06c 100644 --- a/tools/perf/util/db-export.c +++ b/tools/perf/util/db-export.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include "thread.h" | 20 | #include "thread.h" |
21 | #include "comm.h" | 21 | #include "comm.h" |
22 | #include "symbol.h" | 22 | #include "symbol.h" |
23 | #include "map.h" | ||
23 | #include "event.h" | 24 | #include "event.h" |
24 | #include "util.h" | 25 | #include "util.h" |
25 | #include "thread-stack.h" | 26 | #include "thread-stack.h" |
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index a8a54115b115..ba58ba603b69 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include "compress.h" | 12 | #include "compress.h" |
13 | #include "namespaces.h" | 13 | #include "namespaces.h" |
14 | #include "path.h" | 14 | #include "path.h" |
15 | #include "map.h" | ||
15 | #include "symbol.h" | 16 | #include "symbol.h" |
16 | #include "srcline.h" | 17 | #include "srcline.h" |
17 | #include "dso.h" | 18 | #include "dso.h" |
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index 1b5091a3d14f..4d84e7754be9 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include "thread.h" | 21 | #include "thread.h" |
22 | #include "thread_map.h" | 22 | #include "thread_map.h" |
23 | #include "sane_ctype.h" | 23 | #include "sane_ctype.h" |
24 | #include "map.h" | ||
24 | #include "symbol/kallsyms.h" | 25 | #include "symbol/kallsyms.h" |
25 | #include "asm/bug.h" | 26 | #include "asm/bug.h" |
26 | #include "stat.h" | 27 | #include "stat.h" |
diff --git a/tools/perf/util/intel-bts.c b/tools/perf/util/intel-bts.c index ee6ca65f81f4..f7fe8ccf6d65 100644 --- a/tools/perf/util/intel-bts.c +++ b/tools/perf/util/intel-bts.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "evsel.h" | 27 | #include "evsel.h" |
28 | #include "evlist.h" | 28 | #include "evlist.h" |
29 | #include "machine.h" | 29 | #include "machine.h" |
30 | #include "map.h" | ||
30 | #include "session.h" | 31 | #include "session.h" |
31 | #include "util.h" | 32 | #include "util.h" |
32 | #include "thread.h" | 33 | #include "thread.h" |
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 4008f0cc36e5..b0192160513d 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c | |||
@@ -41,6 +41,7 @@ | |||
41 | #include "debug.h" | 41 | #include "debug.h" |
42 | #include "cache.h" | 42 | #include "cache.h" |
43 | #include "color.h" | 43 | #include "color.h" |
44 | #include "map.h" | ||
44 | #include "symbol.h" | 45 | #include "symbol.h" |
45 | #include "thread.h" | 46 | #include "thread.h" |
46 | #include <api/fs/fs.h> | 47 | #include <api/fs/fs.h> |
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c index b93f36b887b5..a9f22694eed1 100644 --- a/tools/perf/util/scripting-engines/trace-event-perl.c +++ b/tools/perf/util/scripting-engines/trace-event-perl.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include "../../perf.h" | 37 | #include "../../perf.h" |
38 | #include "../callchain.h" | 38 | #include "../callchain.h" |
39 | #include "../machine.h" | 39 | #include "../machine.h" |
40 | #include "../map.h" | ||
40 | #include "../thread.h" | 41 | #include "../thread.h" |
41 | #include "../event.h" | 42 | #include "../event.h" |
42 | #include "../trace-event.h" | 43 | #include "../trace-event.h" |
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 7059d1be2d09..d9c83776a80f 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include "../thread-stack.h" | 44 | #include "../thread-stack.h" |
45 | #include "../trace-event.h" | 45 | #include "../trace-event.h" |
46 | #include "../call-path.h" | 46 | #include "../call-path.h" |
47 | #include "map.h" | ||
47 | #include "thread_map.h" | 48 | #include "thread_map.h" |
48 | #include "cpumap.h" | 49 | #include "cpumap.h" |
49 | #include "print_binary.h" | 50 | #include "print_binary.h" |
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 24fd62528a33..e9755a649993 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include "evlist.h" | 13 | #include "evlist.h" |
14 | #include "evsel.h" | 14 | #include "evsel.h" |
15 | #include "memswap.h" | 15 | #include "memswap.h" |
16 | #include "map.h" | ||
16 | #include "session.h" | 17 | #include "session.h" |
17 | #include "tool.h" | 18 | #include "tool.h" |
18 | #include "sort.h" | 19 | #include "sort.h" |
diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index 6c1a83768eb0..79e794406bef 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include "sort.h" | 6 | #include "sort.h" |
7 | #include "hist.h" | 7 | #include "hist.h" |
8 | #include "comm.h" | 8 | #include "comm.h" |
9 | #include "map.h" | ||
9 | #include "symbol.h" | 10 | #include "symbol.h" |
10 | #include "thread.h" | 11 | #include "thread.h" |
11 | #include "evsel.h" | 12 | #include "evsel.h" |
diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c index 66a84d5846c8..848d1a0f8dc0 100644 --- a/tools/perf/util/symbol-elf.c +++ b/tools/perf/util/symbol-elf.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <unistd.h> | 6 | #include <unistd.h> |
7 | #include <inttypes.h> | 7 | #include <inttypes.h> |
8 | 8 | ||
9 | #include "map.h" | ||
9 | #include "symbol.h" | 10 | #include "symbol.h" |
10 | #include "demangle-java.h" | 11 | #include "demangle-java.h" |
11 | #include "demangle-rust.h" | 12 | #include "demangle-rust.h" |
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index bcbcbd610460..7b194cf53cc0 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include "util.h" | 17 | #include "util.h" |
18 | #include "debug.h" | 18 | #include "debug.h" |
19 | #include "machine.h" | 19 | #include "machine.h" |
20 | #include "map.h" | ||
20 | #include "symbol.h" | 21 | #include "symbol.h" |
21 | #include "strlist.h" | 22 | #include "strlist.h" |
22 | #include "intlist.h" | 23 | #include "intlist.h" |
diff --git a/tools/perf/util/unwind-libdw.c b/tools/perf/util/unwind-libdw.c index 5eff9bfc5758..8ea7c89e73fd 100644 --- a/tools/perf/util/unwind-libdw.c +++ b/tools/perf/util/unwind-libdw.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include "unwind.h" | 8 | #include "unwind.h" |
9 | #include "unwind-libdw.h" | 9 | #include "unwind-libdw.h" |
10 | #include "machine.h" | 10 | #include "machine.h" |
11 | #include "map.h" | ||
11 | #include "thread.h" | 12 | #include "thread.h" |
12 | #include <linux/types.h> | 13 | #include <linux/types.h> |
13 | #include "event.h" | 14 | #include "event.h" |
diff --git a/tools/perf/util/unwind-libunwind-local.c b/tools/perf/util/unwind-libunwind-local.c index 79f521a552cf..f3c666a84e4d 100644 --- a/tools/perf/util/unwind-libunwind-local.c +++ b/tools/perf/util/unwind-libunwind-local.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include "session.h" | 34 | #include "session.h" |
35 | #include "perf_regs.h" | 35 | #include "perf_regs.h" |
36 | #include "unwind.h" | 36 | #include "unwind.h" |
37 | #include "map.h" | ||
37 | #include "symbol.h" | 38 | #include "symbol.h" |
38 | #include "util.h" | 39 | #include "util.h" |
39 | #include "debug.h" | 40 | #include "debug.h" |
diff --git a/tools/perf/util/unwind-libunwind.c b/tools/perf/util/unwind-libunwind.c index b029a5e9ae49..9778b3133b77 100644 --- a/tools/perf/util/unwind-libunwind.c +++ b/tools/perf/util/unwind-libunwind.c | |||
@@ -1,5 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | #include "unwind.h" | 2 | #include "unwind.h" |
3 | #include "map.h" | ||
3 | #include "thread.h" | 4 | #include "thread.h" |
4 | #include "session.h" | 5 | #include "session.h" |
5 | #include "debug.h" | 6 | #include "debug.h" |
diff --git a/tools/perf/util/vdso.c b/tools/perf/util/vdso.c index 3702cba11d7d..5031b7b22bbd 100644 --- a/tools/perf/util/vdso.c +++ b/tools/perf/util/vdso.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include "vdso.h" | 12 | #include "vdso.h" |
13 | #include "util.h" | 13 | #include "util.h" |
14 | #include "map.h" | ||
14 | #include "symbol.h" | 15 | #include "symbol.h" |
15 | #include "machine.h" | 16 | #include "machine.h" |
16 | #include "thread.h" | 17 | #include "thread.h" |