summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2014-08-07 00:27:00 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-08-20 08:29:10 -0300
commitad7e767a726dd7dffad45d7fcbf371094e7f2288 (patch)
treec45961f1d0a0d14ab32757b933c033ea10d62d5f /tools/perf/arch
parent700be564308bcfc217bd3515d634b56f0c3c1bbb (diff)
downloadop-kernel-dev-ad7e767a726dd7dffad45d7fcbf371094e7f2288.zip
op-kernel-dev-ad7e767a726dd7dffad45d7fcbf371094e7f2288.tar.gz
perf tools powerpc: Explicitly include util/debug.h
Looks like util/debug.h was indirectly included before and is no longer included now. pr_debug is left undefined and the build of perf tool fails on Powerpc. Explicitly include util/debug.h. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Michael Ellerman <michaele@au1.ibm.com> Link: http://lkml.kernel.org/r/20140807072700.GA17623@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch')
-rw-r--r--tools/perf/arch/powerpc/util/skip-callchain-idx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/powerpc/util/skip-callchain-idx.c b/tools/perf/arch/powerpc/util/skip-callchain-idx.c
index a7c23a4..d73ef8b 100644
--- a/tools/perf/arch/powerpc/util/skip-callchain-idx.c
+++ b/tools/perf/arch/powerpc/util/skip-callchain-idx.c
@@ -15,6 +15,7 @@
#include "util/thread.h"
#include "util/callchain.h"
+#include "util/debug.h"
/*
* When saving the callchain on Power, the kernel conservatively saves
OpenPOWER on IntegriCloud