summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/callchain.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 22:11:39 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-26 16:58:29 +0200
commit185bcb92c80eae2d85ec834ea76a144fd163e2af (patch)
tree64e10049c44b9ce01e4193e5894deed9afc2e996 /tools/perf/util/callchain.c
parentperf srcline: Add missing srcline.h header to files needing its defs (diff)
downloadlinux-185bcb92c80eae2d85ec834ea76a144fd163e2af.tar.xz
linux-185bcb92c80eae2d85ec834ea76a144fd163e2af.zip
perf sort: Remove needless headers from sort.h, provide fwd struct decls
Reducing the includes hell a bit more, speeding up the build and avoiding needless rebuilds when just one of those files gets updated. 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-u63el2vqsovsmnhebx1rcixo@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/callchain.c')
-rw-r--r--tools/perf/util/callchain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/callchain.c b/tools/perf/util/callchain.c
index d077704f9afa..dd6e01000385 100644
--- a/tools/perf/util/callchain.c
+++ b/tools/perf/util/callchain.c
@@ -20,6 +20,7 @@
#include "asm/bug.h"
+#include "debug.h"
#include "hist.h"
#include "sort.h"
#include "machine.h"