Skip to content

Commit ad7e767

Browse files
Sukadev Bhattiproluacmel
authored andcommitted
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]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 700be56 commit ad7e767

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/perf/arch/powerpc/util/skip-callchain-idx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include "util/thread.h"
1717
#include "util/callchain.h"
18+
#include "util/debug.h"
1819

1920
/*
2021
* When saving the callchain on Power, the kernel conservatively saves

0 commit comments

Comments
 (0)