perf tools: Add missing include for symbols.h
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: daecf9e0fa8e1bb3b227fcc15c4070caccbbb14f Gitweb: https://git.kernel.org/tip/daecf9e0fa8e1bb3b227fcc15c4070caccbbb14f Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 28 Jan 2019 00:03:34 +0100 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 6 Feb 2019 10:00:38 -0300
perf tools: Add missing include for symbols.h
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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-c2c.c | 1 + tools/perf/builtin-inject.c | 1 + tools/perf/builtin-trace.c | 1 + tools/perf/tests/code-reading.c | 1 + tools/perf/tests/dwarf-unwind.c | 1 + tools/perf/ui/browsers/hists.c | 1 + tools/perf/ui/stdio/hist.c | 1 + tools/perf/util/event.c | 1 + tools/perf/util/hist.c | 1 + tools/perf/util/intel-bts.c | 1 + tools/perf/util/machine.c | 1 + tools/perf/util/scripting-engines/trace-event-perl.c | 1 + tools/perf/util/scripting-engines/trace-event-python.c | 1 + tools/perf/util/session.c | 1 + tools/perf/util/thread.c | 1 + tools/perf/util/unwind-libdw.c | 1 + 16 files changed, 16 insertions(+)
tools/perf/builtin-c2c.c +1 -0
@@ -33,6 +33,7 @@#include "ui/browsers/hists.h" #include "thread.h" #include "mem2node.h" +#include "symbol.h" struct c2c_hists {struct hists hists;
tools/perf/builtin-inject.c +1 -0
@@ -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>
tools/perf/builtin-trace.c +1 -0
@@ -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"
tools/perf/tests/code-reading.c +1 -0
@@ -16,6 +16,7 @@#include "cpumap.h" #include "machine.h" #include "map.h" +#include "symbol.h" #include "event.h" #include "thread.h"
tools/perf/tests/dwarf-unwind.c +1 -0
@@ -10,6 +10,7 @@#include "../util/unwind.h" #include "perf_regs.h" #include "map.h" +#include "symbol.h" #include "thread.h" #include "callchain.h"
tools/perf/ui/browsers/hists.c +1 -0
@@ -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"
tools/perf/ui/stdio/hist.c +1 -0
@@ -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"
tools/perf/util/event.c +1 -0
@@ -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"
tools/perf/util/hist.c +1 -0
@@ -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>
tools/perf/util/intel-bts.c +1 -0
@@ -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"
tools/perf/util/machine.c +1 -0
@@ -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"
tools/perf/util/scripting-engines/trace-event-perl.c +1 -0
@@ -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"
tools/perf/util/scripting-engines/trace-event-python.c +1 -0
@@ -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"
tools/perf/util/session.c +1 -0
@@ -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"
tools/perf/util/thread.c +1 -0
@@ -12,6 +12,7 @@#include "debug.h" #include "namespaces.h" #include "comm.h" +#include "symbol.h" #include "unwind.h" #include <api/fs/fs.h>
tools/perf/util/unwind-libdw.c +1 -0
@@ -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"