summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/stdio/hist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-29 11:11:04 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-06 14:00:38 +0100
commitb10ba7f1a278ce04d272b2b662f231552ab000ee (patch)
treeeedb0480ab57c2fc73e11b67bbd1e19b3980ff4f /tools/perf/ui/stdio/hist.c
parentperf thread: Don't include symbol.h, symbol_conf.h is enough (diff)
downloadlinux-b10ba7f1a278ce04d272b2b662f231552ab000ee.tar.xz
linux-b10ba7f1a278ce04d272b2b662f231552ab000ee.zip
perf tools: Add missing include <callchain.h> in various places
Its getting it from hist.h and that will go away, as that header doesn't need callchain.h at all. 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-6ebl3mwwiqocl79yts44qltu@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/stdio/hist.c')
-rw-r--r--tools/perf/ui/stdio/hist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c
index f25116f70878..a60f2993d390 100644
--- a/tools/perf/ui/stdio/hist.c
+++ b/tools/perf/ui/stdio/hist.c
@@ -2,6 +2,7 @@
#include <stdio.h>
#include <linux/string.h>
+#include "../../util/callchain.h"
#include "../../util/util.h"
#include "../../util/hist.h"
#include "../../util/map.h"