perf tools: Add missing include <callchain.h> in various places
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 29 Jan 2019 10:11:04 +0000 (11:11 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:38 +0000 (10:00 -0300)
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>
tools/perf/ui/browsers/hists.c
tools/perf/ui/gtk/hists.c
tools/perf/ui/hist.c
tools/perf/ui/stdio/hist.c
tools/perf/util/config.c
tools/perf/util/hist.c

index ac176b48178c6abdbd9673359faf28077bb2989e..aef800d97ea1879ed8c23e19de80bc027c6bf3d8 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/rbtree.h>
 #include <sys/ttydefaults.h>
 
+#include "../../util/callchain.h"
 #include "../../util/evsel.h"
 #include "../../util/evlist.h"
 #include "../../util/hist.h"
index 74414ccd8c84b59698676de90751d119615be52f..0c08890f006ae81cf8148a87bc33db596b18612e 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 #include "../evlist.h"
 #include "../cache.h"
+#include "../callchain.h"
 #include "../evsel.h"
 #include "../sort.h"
 #include "../hist.h"
index fe3dfaa64a916c1bbb033547583d58a98c1bc257..412d6f1626e3b30af7da7f5f4bb5381227cd4b6f 100644 (file)
@@ -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"
index f25116f708783d5a8fc56e2c3e98b1f415e0f2d1..a60f2993d390b0acd510883a2436cca07d0e4411 100644 (file)
@@ -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"
index 1ea8f898f1a1c253876ec796f0d8e75eed375bbd..fa092511c52b6af5921e7f8f2e3cf576d3bd01c4 100644 (file)
@@ -13,6 +13,7 @@
 #include <sys/param.h>
 #include "util.h"
 #include "cache.h"
+#include "callchain.h"
 #include <subcmd/exec-cmd.h>
 #include "util/event.h"  /* proc_map_timeout */
 #include "util/hist.h"  /* perf_hist_config */
index 3560ad2e5551e18eebd94f2e75b73d772b0e8a25..7f9df74ab8932d605d65c1bbad148cb08a24d0fd 100644 (file)
@@ -1,4 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0
+#include "callchain.h"
 #include "util.h"
 #include "build-id.h"
 #include "hist.h"