Thread (4 messages) flat view 4 messages, 2 authors, 2014-10-08

Re: [PATCH] tools/perf/powerpc: Fix build break

From: Aneesh Kumar K.V <hidden>
Date: 2014-10-08 10:14:56

"Aneesh Kumar K.V" [off-list ref] writes:
  CC       arch/powerpc/util/skip-callchain-idx.o
arch/powerpc/util/skip-callchain-idx.c: In function =E2=80=98check_return=
_reg=E2=80=99:
arch/powerpc/util/skip-callchain-idx.c:55:3: error: implicit declaration =
of function =E2=80=98pr_debug=E2=80=99 [-Werror=3Dimplicit-function-declara=
tion]
quoted hunk ↗ jump to hunk
   pr_debug("dwarf_frame_register() %s\n", dwarf_errmsg(-1));

Signed-off-by: Aneesh Kumar K.V <redacted>
---
 tools/perf/arch/powerpc/util/skip-callchain-idx.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/tools/perf/arch/powerpc/util/skip-callchain-idx.c b/tools/pe=
rf/arch/powerpc/util/skip-callchain-idx.c
quoted hunk ↗ jump to hunk
index a7c23a4b3778..d73ef8bb08c7 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
We still have this broken upstream.

-aneesh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help