perf tools powerpc: Explicitly include util/debug.h
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Thu, 7 Aug 2014 07:27:00 +0000 (00:27 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Aug 2014 11:29:10 +0000 (08:29 -0300)
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>
tools/perf/arch/powerpc/util/skip-callchain-idx.c

index a7c23a4b377802be92b1aafb9b46e91c27e453d2..d73ef8bb08c76a63c8846d4bdf49114c0558908a 100644 (file)
@@ -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