perf tools: Add missing include for symbols.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 27 Jan 2019 23:03:34 +0000 (00:03 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:38 +0000 (10:00 -0300)
Several places were using definitions found in symbols.h but not
including it, getting it by sheer luck from some other headers that now
are in the process of removing that include because they don't need it
or because simply having struct forward declarations is enough, fix it.

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-xbcvvx296d70kpg9wb0qmeq9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
16 files changed:
tools/perf/builtin-c2c.c
tools/perf/builtin-inject.c
tools/perf/builtin-trace.c
tools/perf/tests/code-reading.c
tools/perf/tests/dwarf-unwind.c
tools/perf/ui/browsers/hists.c
tools/perf/ui/stdio/hist.c
tools/perf/util/event.c
tools/perf/util/hist.c
tools/perf/util/intel-bts.c
tools/perf/util/machine.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/thread.c
tools/perf/util/unwind-libdw.c

index 72ec0ae7d8ada66b974c7f6ef6392e149acbf403..b2bf117881f18962c2e9cdc323a5c032179a584e 100644 (file)
@@ -33,6 +33,7 @@
 #include "ui/browsers/hists.h"
 #include "thread.h"
 #include "mem2node.h"
+#include "symbol.h"
 
 struct c2c_hists {
        struct hists            hists;
index 3499addcfc12e1b5a12fa2ce00c6357522f4c914..9bb1f35d5cb7ffe4f17af6ca00a28c280a49f8ce 100644 (file)
@@ -20,6 +20,7 @@
 #include "util/data.h"
 #include "util/auxtrace.h"
 #include "util/jit.h"
+#include "util/symbol.h"
 #include "util/thread.h"
 
 #include <subcmd/parse-options.h>
index c0b91595d6e3b9983e289c7bf6f4a9138fbd3442..81a44954d4353e9e1fd7b917fb6f52922a3bda0c 100644 (file)
@@ -30,6 +30,7 @@
 #include <subcmd/exec-cmd.h>
 #include "util/machine.h"
 #include "util/map.h"
+#include "util/symbol.h"
 #include "util/path.h"
 #include "util/session.h"
 #include "util/thread.h"
index 59d00b3d0a74646a1ac7f56ba2a3ad422dcba234..4ebd2681e7607c2efda177eb3f9f6956f8082bba 100644 (file)
@@ -16,6 +16,7 @@
 #include "cpumap.h"
 #include "machine.h"
 #include "map.h"
+#include "symbol.h"
 #include "event.h"
 #include "thread.h"
 
index 7c8d2e422401ee12ecc705360b8a8983f4d2ae72..077c306c1cae646c7281bd1d44c8551b1ebd072e 100644 (file)
@@ -10,6 +10,7 @@
 #include "../util/unwind.h"
 #include "perf_regs.h"
 #include "map.h"
+#include "symbol.h"
 #include "thread.h"
 #include "callchain.h"
 
index 8ada0c690771889f8c40dfe24a9a64fba15b7e1b..ac176b48178c6abdbd9673359faf28077bb2989e 100644 (file)
@@ -12,6 +12,7 @@
 #include "../../util/evlist.h"
 #include "../../util/hist.h"
 #include "../../util/map.h"
+#include "../../util/symbol.h"
 #include "../../util/pstack.h"
 #include "../../util/sort.h"
 #include "../../util/util.h"
index bb653a47f47afecf498124b209834249762d235a..f25116f708783d5a8fc56e2c3e98b1f415e0f2d1 100644 (file)
@@ -6,6 +6,7 @@
 #include "../../util/hist.h"
 #include "../../util/map.h"
 #include "../../util/map_groups.h"
+#include "../../util/symbol.h"
 #include "../../util/sort.h"
 #include "../../util/evsel.h"
 #include "../../util/srcline.h"
index 4d84e7754be9a8e2e3810e77e27242e83dabd73f..ba7be74fad6ea1fedc61b32b6fdb24cba382a69f 100644 (file)
@@ -22,6 +22,7 @@
 #include "thread_map.h"
 #include "sane_ctype.h"
 #include "map.h"
+#include "symbol.h"
 #include "symbol/kallsyms.h"
 #include "asm/bug.h"
 #include "stat.h"
index 9e7a8e044a0a9a0835895af31f909f31e7f2c4f4..3560ad2e5551e18eebd94f2e75b73d772b0e8a25 100644 (file)
@@ -11,6 +11,7 @@
 #include "evsel.h"
 #include "annotate.h"
 #include "srcline.h"
+#include "symbol.h"
 #include "thread.h"
 #include "ui/progress.h"
 #include <errno.h>
index f7fe8ccf6d658353520852580a2c24bb2315bfd8..f99ac0cbe3ffa6b3aed4599b94a61cdff165cb9e 100644 (file)
@@ -28,6 +28,7 @@
 #include "evlist.h"
 #include "machine.h"
 #include "map.h"
+#include "symbol.h"
 #include "session.h"
 #include "util.h"
 #include "thread.h"
index 66f019fdc51020cea419cc66f2f04c550e38d467..61959aba7e27008b68bd4cde372b15f1bcaefe39 100644 (file)
@@ -10,6 +10,7 @@
 #include "hist.h"
 #include "machine.h"
 #include "map.h"
+#include "symbol.h"
 #include "sort.h"
 #include "strlist.h"
 #include "thread.h"
index a9f22694eed16640b47d093d21c9912da96c487d..5f06378a482b80b53459509b4a141a1b1234253f 100644 (file)
@@ -38,6 +38,7 @@
 #include "../callchain.h"
 #include "../machine.h"
 #include "../map.h"
+#include "../symbol.h"
 #include "../thread.h"
 #include "../event.h"
 #include "../trace-event.h"
index d9c83776a80fa1cc69d7fbdc7ae1f5880ed871ea..0e17db41b49bc20cbab7cccdfeb7db3bd3a7ae0c 100644 (file)
@@ -45,6 +45,7 @@
 #include "../trace-event.h"
 #include "../call-path.h"
 #include "map.h"
+#include "symbol.h"
 #include "thread_map.h"
 #include "cpumap.h"
 #include "print_binary.h"
index e9755a649993d1fe69f5067f163bb88e708dbed2..2012396abb7ccb15aa02f1c7c5cb98633c63e29e 100644 (file)
@@ -14,6 +14,7 @@
 #include "evsel.h"
 #include "memswap.h"
 #include "map.h"
+#include "symbol.h"
 #include "session.h"
 #include "tool.h"
 #include "sort.h"
index c83372329f891a2c17e32784387142bfc7d0d807..4c179fef442d66f1eb2c4260dc175bc84217711d 100644 (file)
@@ -12,6 +12,7 @@
 #include "debug.h"
 #include "namespaces.h"
 #include "comm.h"
+#include "symbol.h"
 #include "unwind.h"
 
 #include <api/fs/fs.h>
index 8ea7c89e73fd40e67543dfee98913d5db574ad2b..407d0167b9420d7270a7994e23506dbcca114152 100644 (file)
@@ -9,6 +9,7 @@
 #include "unwind-libdw.h"
 #include "machine.h"
 #include "map.h"
+#include "symbol.h"
 #include "thread.h"
 #include <linux/types.h>
 #include "event.h"