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>
This commit is contained in:
Arnaldo Carvalho de Melo 2019-01-29 11:11:04 +01:00
parent e22c1c7511
commit b10ba7f1a2
6 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@
#include <linux/rbtree.h> #include <linux/rbtree.h>
#include <sys/ttydefaults.h> #include <sys/ttydefaults.h>
#include "../../util/callchain.h"
#include "../../util/evsel.h" #include "../../util/evsel.h"
#include "../../util/evlist.h" #include "../../util/evlist.h"
#include "../../util/hist.h" #include "../../util/hist.h"

View File

@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "../evlist.h" #include "../evlist.h"
#include "../cache.h" #include "../cache.h"
#include "../callchain.h"
#include "../evsel.h" #include "../evsel.h"
#include "../sort.h" #include "../sort.h"
#include "../hist.h" #include "../hist.h"

View File

@ -3,6 +3,7 @@
#include <math.h> #include <math.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include "../util/callchain.h"
#include "../util/hist.h" #include "../util/hist.h"
#include "../util/util.h" #include "../util/util.h"
#include "../util/sort.h" #include "../util/sort.h"

View File

@ -2,6 +2,7 @@
#include <stdio.h> #include <stdio.h>
#include <linux/string.h> #include <linux/string.h>
#include "../../util/callchain.h"
#include "../../util/util.h" #include "../../util/util.h"
#include "../../util/hist.h" #include "../../util/hist.h"
#include "../../util/map.h" #include "../../util/map.h"

View File

@ -13,6 +13,7 @@
#include <sys/param.h> #include <sys/param.h>
#include "util.h" #include "util.h"
#include "cache.h" #include "cache.h"
#include "callchain.h"
#include <subcmd/exec-cmd.h> #include <subcmd/exec-cmd.h>
#include "util/event.h" /* proc_map_timeout */ #include "util/event.h" /* proc_map_timeout */
#include "util/hist.h" /* perf_hist_config */ #include "util/hist.h" /* perf_hist_config */

View File

@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include "callchain.h"
#include "util.h" #include "util.h"
#include "build-id.h" #include "build-id.h"
#include "hist.h" #include "hist.h"