aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/callchain.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-27 14:10:31 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-06 10:00:38 -0300
commit7cadca8e1b4ae95f8be37d8da246eae8ebf5fb3a (patch)
treeadcfff150fb5e7cf94e3a62cf256316031a56080 /tools/perf/util/callchain.c
parentperf tests: Add missing headers so far obtained indirectly (diff)
downloadlinux-dev-7cadca8e1b4ae95f8be37d8da246eae8ebf5fb3a.tar.xz
linux-dev-7cadca8e1b4ae95f8be37d8da246eae8ebf5fb3a.zip
perf hist: Remove symbol.h from hist.h, just fwd decls are needed
To reduce the includes dependencies. 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-cmvg5ght75mmfg1efeyna9rn@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/callchain.c')
-rw-r--r--tools/perf/util/callchain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c
index cc47dba973f2..abb608b09269 100644
--- a/tools/perf/util/callchain.c
+++ b/tools/perf/util/callchain.c
@@ -26,6 +26,7 @@
#include "map.h"
#include "callchain.h"
#include "branch.h"
+#include "symbol.h"
#define CALLCHAIN_PARAM_DEFAULT \
.mode = CHAIN_GRAPH_ABS, \