perf tools: Add missing include <callchain.h> in various places
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: b10ba7f1a278ce04d272b2b662f231552ab000ee Gitweb: https://git.kernel.org/tip/b10ba7f1a278ce04d272b2b662f231552ab000ee Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 29 Jan 2019 11:11:04 +0100 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 6 Feb 2019 10:00:38 -0300
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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/ui/browsers/hists.c | 1 + tools/perf/ui/gtk/hists.c | 1 + tools/perf/ui/hist.c | 1 + tools/perf/ui/stdio/hist.c | 1 + tools/perf/util/config.c | 1 + tools/perf/util/hist.c | 1 + 6 files changed, 6 insertions(+)
tools/perf/ui/browsers/hists.c +1 -0
@@ -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"
tools/perf/ui/gtk/hists.c +1 -0
@@ -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"
tools/perf/ui/hist.c +1 -0
@@ -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"
tools/perf/ui/stdio/hist.c +1 -0
@@ -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"
tools/perf/util/config.c +1 -0
@@ -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 */
tools/perf/util/hist.c +1 -0
@@ -1,4 +1,5 @@// SPDX-License-Identifier: GPL-2.0 +#include "callchain.h" #include "util.h" #include "build-id.h" #include "hist.h"