Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-12 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 12, 2016 at 04:06:55PM +1000, Anton Blanchard escreveu: > Hi Arnaldo, > > > Anyway, Anton, does this fix the problem for you? > > Yes it does, thanks! Thanks, adding a Tested-by: you. - Arnaldo

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-12 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 12, 2016 at 04:06:55PM +1000, Anton Blanchard escreveu: > Hi Arnaldo, > > > Anyway, Anton, does this fix the problem for you? > > Yes it does, thanks! Thanks, adding a Tested-by: you. - Arnaldo

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-12 Thread Anton Blanchard
Hi Arnaldo, > Anyway, Anton, does this fix the problem for you? Yes it does, thanks! Anton

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-12 Thread Anton Blanchard
Hi Arnaldo, > Anyway, Anton, does this fix the problem for you? Yes it does, thanks! Anton

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 11:49:00AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Aug 11, 2016 at 06:51:39PM +0530, Ravi Bangoria escreveu: > > On Thursday 11 August 2016 05:20 PM, Arnaldo Carvalho de Melo wrote: > > > Can you please provide a better explanation? I had to look at the patch >

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 11:49:00AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Aug 11, 2016 at 06:51:39PM +0530, Ravi Bangoria escreveu: > > On Thursday 11 August 2016 05:20 PM, Arnaldo Carvalho de Melo wrote: > > > Can you please provide a better explanation? I had to look at the patch >

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 09:54:57AM +1000, Anton Blanchard escreveu: > Hi, > > > Powerpc has Global Entry Point and Local Entry Point for functions. > > LEP catches call from both the GEP and the LEP. Symbol table of ELF > > contains GEP and Offset from which we can calculate LEP, but debuginfo >

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 09:54:57AM +1000, Anton Blanchard escreveu: > Hi, > > > Powerpc has Global Entry Point and Local Entry Point for functions. > > LEP catches call from both the GEP and the LEP. Symbol table of ELF > > contains GEP and Offset from which we can calculate LEP, but debuginfo >

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 06:51:39PM +0530, Ravi Bangoria escreveu: > > > On Thursday 11 August 2016 05:20 PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Aug 11, 2016 at 10:01:04AM +0530, Ravi Bangoria escreveu: > > > > > > On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: > > > > Hi,

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 06:51:39PM +0530, Ravi Bangoria escreveu: > > > On Thursday 11 August 2016 05:20 PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Aug 11, 2016 at 10:01:04AM +0530, Ravi Bangoria escreveu: > > > > > > On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: > > > > Hi,

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Ravi Bangoria
On Thursday 11 August 2016 05:20 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 11, 2016 at 10:01:04AM +0530, Ravi Bangoria escreveu: On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: Hi, Powerpc has Global Entry Point and Local Entry Point for functions. LEP catches call from

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Ravi Bangoria
On Thursday 11 August 2016 05:20 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 11, 2016 at 10:01:04AM +0530, Ravi Bangoria escreveu: On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: Hi, Powerpc has Global Entry Point and Local Entry Point for functions. LEP catches call from

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 10:01:04AM +0530, Ravi Bangoria escreveu: > > > On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: > > Hi, > > > > > Powerpc has Global Entry Point and Local Entry Point for functions. > > > LEP catches call from both the GEP and the LEP. Symbol table of ELF > >

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-11 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 11, 2016 at 10:01:04AM +0530, Ravi Bangoria escreveu: > > > On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: > > Hi, > > > > > Powerpc has Global Entry Point and Local Entry Point for functions. > > > LEP catches call from both the GEP and the LEP. Symbol table of ELF > >

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-10 Thread Ravi Bangoria
On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: Hi, Powerpc has Global Entry Point and Local Entry Point for functions. LEP catches call from both the GEP and the LEP. Symbol table of ELF contains GEP and Offset from which we can calculate LEP, but debuginfo does not have LEP

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-10 Thread Ravi Bangoria
On Thursday 11 August 2016 05:24 AM, Anton Blanchard wrote: Hi, Powerpc has Global Entry Point and Local Entry Point for functions. LEP catches call from both the GEP and the LEP. Symbol table of ELF contains GEP and Offset from which we can calculate LEP, but debuginfo does not have LEP

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-10 Thread Anton Blanchard
Hi, > Powerpc has Global Entry Point and Local Entry Point for functions. > LEP catches call from both the GEP and the LEP. Symbol table of ELF > contains GEP and Offset from which we can calculate LEP, but debuginfo > does not have LEP info. > > Currently, perf prioritize symbol table over

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-10 Thread Anton Blanchard
Hi, > Powerpc has Global Entry Point and Local Entry Point for functions. > LEP catches call from both the GEP and the LEP. Symbol table of ELF > contains GEP and Offset from which we can calculate LEP, but debuginfo > does not have LEP info. > > Currently, perf prioritize symbol table over

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-09 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 09, 2016 at 11:02:40PM +0900, Masami Hiramatsu escreveu: > On Tue, 9 Aug 2016 01:23:25 -0500 > Ravi Bangoria wrote: > > > Powerpc has Global Entry Point and Local Entry Point for functions. > > LEP catches call from both the GEP and the LEP. Symbol

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-09 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 09, 2016 at 11:02:40PM +0900, Masami Hiramatsu escreveu: > On Tue, 9 Aug 2016 01:23:25 -0500 > Ravi Bangoria wrote: > > > Powerpc has Global Entry Point and Local Entry Point for functions. > > LEP catches call from both the GEP and the LEP. Symbol table of ELF > > contains GEP and

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-09 Thread Masami Hiramatsu
On Tue, 9 Aug 2016 01:23:25 -0500 Ravi Bangoria wrote: > Powerpc has Global Entry Point and Local Entry Point for functions. > LEP catches call from both the GEP and the LEP. Symbol table of ELF > contains GEP and Offset from which we can calculate LEP, but

Re: [PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-09 Thread Masami Hiramatsu
On Tue, 9 Aug 2016 01:23:25 -0500 Ravi Bangoria wrote: > Powerpc has Global Entry Point and Local Entry Point for functions. > LEP catches call from both the GEP and the LEP. Symbol table of ELF > contains GEP and Offset from which we can calculate LEP, but debuginfo > does not have LEP info. >

[PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-09 Thread Ravi Bangoria
Powerpc has Global Entry Point and Local Entry Point for functions. LEP catches call from both the GEP and the LEP. Symbol table of ELF contains GEP and Offset from which we can calculate LEP, but debuginfo does not have LEP info. Currently, perf prioritize symbol table over dwarf to probe on LEP

[PATCH 2/2] perf ppc64le: Fix probe location when using DWARF

2016-08-09 Thread Ravi Bangoria
Powerpc has Global Entry Point and Local Entry Point for functions. LEP catches call from both the GEP and the LEP. Symbol table of ELF contains GEP and Offset from which we can calculate LEP, but debuginfo does not have LEP info. Currently, perf prioritize symbol table over dwarf to probe on LEP