Skip to contentSkip to conversation

powerpc/perf: Explicitly include util/debug.h

PATCH New Sukadev Bhattiprolu 2 participants 2 messages Aug 7, 2014 – Aug 24, 2014 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/perf: Explicitly include util/debug.h

[PATCH] powerpc/perf: 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.

---
 tools/perf/arch/powerpc/util/skip-callchain-idx.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/arch/powerpc/util/skip-callchain-idx.c +1 -0
index a7c23a4..d73ef8b 100644
@@ -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
Signature · 1 line
1.8.3.1
#1 lore raw

[tip:perf/core] perf tools powerpc: Explicitly include util/ debug.h

perf tools powerpc: Explicitly include util/debug.h
Commit-ID:  ad7e767a726dd7dffad45d7fcbf371094e7f2288
Gitweb:     http://git.kernel.org/tip/ad7e767a726dd7dffad45d7fcbf371094e7f2288
Author:     Sukadev Bhattiprolu <[email protected]>
AuthorDate: Thu, 7 Aug 2014 00:27:00 -0700
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 20 Aug 2014 08:29:10 -0300

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.

---
 tools/perf/arch/powerpc/util/skip-callchain-idx.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/arch/powerpc/util/skip-callchain-idx.c +1 -0
index a7c23a4..d73ef8b 100644
@@ -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