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

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Thu Oct 9 05:01:33 EST 2014


Aneesh Kumar K.V [aneesh.kumar at linux.vnet.ibm.com] wrote:
| "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com> writes:
| 
| >   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 <aneesh.kumar at linux.vnet.ibm.com>
| > ---
| >  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
| 
| We still have this broken upstream.

The fix is in Ingo's tree, commit ad7e767.

Ingo, can you push this fix to Linus - it fixes a build failure in
Powerpc.

Sukadev


| 
| -aneesh
| 
| _______________________________________________
| Linuxppc-dev mailing list
| Linuxppc-dev at lists.ozlabs.org
| https://lists.ozlabs.org/listinfo/linuxppc-dev



More information about the Linuxppc-dev mailing list