Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-16 Thread Benjamin Herrenschmidt
On Wed, 2013-10-16 at 17:16 -0400, Martin Hicks wrote: > That does fix the problem. v3.11 with the following: > > diff --git a/arch/powerpc/perf/core-book3s.c b/arch/powerpc/perf/core-book3s.c > index eeae308..e91cf67 100644 > --- a/arch/powerpc/perf/core-book3s.c > +++ b/arch/powerpc/perf/core-

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-16 Thread Martin Hicks
On Wed, Oct 16, 2013 at 2:42 PM, Benjamin Herrenschmidt wrote: > On Wed, 2013-10-16 at 11:05 -0400, Martin Hicks wrote: >> Actually, I was wrong, the mpc8379 is an e300c4. >> >> So it seems clear to me that we compile in the book3s code because >> this is an 83xx CPU part. I also see that Kconfig

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-16 Thread Benjamin Herrenschmidt
On Wed, 2013-10-16 at 11:05 -0400, Martin Hicks wrote: > Actually, I was wrong, the mpc8379 is an e300c4. > > So it seems clear to me that we compile in the book3s code because > this is an 83xx CPU part. I also see that Kconfig knows that I have > an core-fsl-emb but we don't actually compile th

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-16 Thread Martin Hicks
Actually, I was wrong, the mpc8379 is an e300c4. So it seems clear to me that we compile in the book3s code because this is an 83xx CPU part. I also see that Kconfig knows that I have an core-fsl-emb but we don't actually compile the PMU backend for it because there's no support for anything but

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-15 Thread Benjamin Herrenschmidt
On Tue, 2013-10-15 at 15:22 -0500, Scott Wood wrote: > On Tue, 2013-10-15 at 14:53 -0500, Benjamin Herrenschmidt wrote: > > On Tue, 2013-10-15 at 14:44 -0400, Martin Hicks wrote: > > > On Tue, Oct 15, 2013 at 11:30 AM, Benjamin Herrenschmidt > > > wrote: > > > > On Tue, 2013-10-15 at 09:59 -0400,

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-15 Thread Scott Wood
On Tue, 2013-10-15 at 14:53 -0500, Benjamin Herrenschmidt wrote: > On Tue, 2013-10-15 at 14:44 -0400, Martin Hicks wrote: > > On Tue, Oct 15, 2013 at 11:30 AM, Benjamin Herrenschmidt > > wrote: > > > On Tue, 2013-10-15 at 09:59 -0400, Martin Hicks wrote: > > >> I've tracked the start of the strang

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-15 Thread Benjamin Herrenschmidt
On Tue, 2013-10-15 at 14:44 -0400, Martin Hicks wrote: > On Tue, Oct 15, 2013 at 11:30 AM, Benjamin Herrenschmidt > wrote: > > On Tue, 2013-10-15 at 09:59 -0400, Martin Hicks wrote: > >> I've tracked the start of the strange instruction pointers in 'perf > >> report' to a commit by Anton: > >> > >

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-15 Thread Martin Hicks
On Tue, Oct 15, 2013 at 11:30 AM, Benjamin Herrenschmidt wrote: > On Tue, 2013-10-15 at 09:59 -0400, Martin Hicks wrote: >> I've tracked the start of the strange instruction pointers in 'perf >> report' to a commit by Anton: >> >> commit 75382aa72f06823db7312ad069c3bae2eb3f8548 >> Author: Anton Bl

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-15 Thread Benjamin Herrenschmidt
On Tue, 2013-10-15 at 09:59 -0400, Martin Hicks wrote: > I've tracked the start of the strange instruction pointers in 'perf > report' to a commit by Anton: > > commit 75382aa72f06823db7312ad069c3bae2eb3f8548 > Author: Anton Blanchard > Date: Tue Jun 26 01:01:36 2012 + > > powerpc/perf

Re: Perf not resolving all symbols, showing 0x7ffffxxx

2013-10-15 Thread Martin Hicks
I've tracked the start of the strange instruction pointers in 'perf report' to a commit by Anton: commit 75382aa72f06823db7312ad069c3bae2eb3f8548 Author: Anton Blanchard Date: Tue Jun 26 01:01:36 2012 + powerpc/perf: Move code to select SIAR or pt_regs into perf_read_regs I don't know