perf hist: Remove symbol.h from hist.h, just fwd decls are needed
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 7cadca8e1b4ae95f8be37d8da246eae8ebf5fb3a Gitweb: https://git.kernel.org/tip/7cadca8e1b4ae95f8be37d8da246eae8ebf5fb3a Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Sun, 27 Jan 2019 14:10:31 +0100 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 6 Feb 2019 10:00:38 -0300
perf hist: Remove symbol.h from hist.h, just fwd decls are needed
To reduce the includes dependencies.
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/ui/gtk/annotate.c | 1 + tools/perf/util/auxtrace.c | 1 + tools/perf/util/callchain.c | 1 + tools/perf/util/hist.h | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-)
tools/perf/ui/gtk/annotate.c +1 -0
@@ -5,6 +5,7 @@#include "util/annotate.h" #include "util/evsel.h" #include "util/map.h" +#include "util/symbol.h" #include "ui/helpline.h" #include <inttypes.h> #include <signal.h>
tools/perf/util/auxtrace.c +1 -0
@@ -41,6 +41,7 @@#include "pmu.h" #include "evsel.h" #include "cpumap.h" +#include "symbol.h" #include "thread_map.h" #include "asm/bug.h" #include "auxtrace.h"
tools/perf/util/callchain.c +1 -0
@@ -26,6 +26,7 @@#include "map.h" #include "callchain.h" #include "branch.h" +#include "symbol.h" #define CALLCHAIN_PARAM_DEFAULT \ .mode = CHAIN_GRAPH_ABS, \
tools/perf/util/hist.h +2 -1
@@ -8,12 +8,13 @@#include "evsel.h" #include "header.h" #include "color.h" -#include "symbol.h" #include "ui/progress.h" struct hist_entry ;struct hist_entry_ops ;struct addr_location ; +struct mem_info ; +struct branch_info ;struct symbol ;enum hist_filter {