powerpc/perf: Explicitly include util/debug.h
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.
Signed-off-by Sukadev Bhattiprolu <[email protected]>
--- 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
@@ -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
tip-bot for Sukadev Bhattiprolu
merge bot[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.
Signed-off-by Sukadev Bhattiprolu <[email protected]>
Acked-by Jiri Olsa <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Michael Ellerman <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- 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
@@ -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