summaryrefslogtreecommitdiff
path: root/tools/perf/ui/hist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-29 13:11:04 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-06 16:00:38 +0300
commitb10ba7f1a278ce04d272b2b662f231552ab000ee (patch)
treeeedb0480ab57c2fc73e11b67bbd1e19b3980ff4f /tools/perf/ui/hist.c
parente22c1c751140aeacc5bba9596d7d5a21c5acbd8c (diff)
downloadlinux-b10ba7f1a278ce04d272b2b662f231552ab000ee.tar.xz
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/hist.c')
-rw-r--r--tools/perf/ui/hist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c
index fe3dfaa64a91..412d6f1626e3 100644
--- a/tools/perf/ui/hist.c
+++ b/tools/perf/ui/hist.c
@@ -3,6 +3,7 @@
#include <math.h>
#include <linux/compiler.h>
+#include "../util/callchain.h"
#include "../util/hist.h"
#include "../util/util.h"
#include "../util/sort.h"