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

From: Sukadev Bhattiprolu <[email-masked]>
Date: Mon, 18 Aug 2014 16:25:05 -0700

I posted a patch for this to LKML last week:

	https://lkml.org/lkml/2014/8/7/77

Aneesh Kumar K.V [[email-masked]] wrote:
|   CC       arch/powerpc/util/skip-callchain-idx.o
| arch/powerpc/util/skip-callchain-idx.c: In function ‘check_return_reg’:
| arch/powerpc/util/skip-callchain-idx.c:55:3: error: implicit declaration of function ‘pr_debug’ [-Werror=implicit-function-declaration]
|    pr_debug("dwarf_frame_register() %s\n", dwarf_errmsg(-1));
| 
| Signed-off-by: Aneesh Kumar K.V <[email-masked]>
| ---
|  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/perf/arch/powerpc/util/skip-callchain-idx.c
| 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
| -- 
| 1.9.1
| 
| _______________________________________________
| Linuxppc-dev mailing list
| [email-masked]
| https://lists.ozlabs.org/listinfo/linuxppc-dev