Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 04:00:18PM +0200, Adrian Hunter escreveu: > On 03/12/13 22:24, Arnaldo Carvalho de Melo wrote: > > Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: > >> When using libbfd to lookup source filename and line number, > >> libbfd does not need the symbol table.

Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-04 Thread Adrian Hunter
On 03/12/13 22:24, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: >> When using libbfd to lookup source filename and line number, >> libbfd does not need the symbol table. Removing the symbol >> table reading, doubles the speed of 'perf script'

Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-04 Thread Adrian Hunter
On 03/12/13 22:24, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: When using libbfd to lookup source filename and line number, libbfd does not need the symbol table. Removing the symbol table reading, doubles the speed of 'perf script' with

Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 04:00:18PM +0200, Adrian Hunter escreveu: On 03/12/13 22:24, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: When using libbfd to lookup source filename and line number, libbfd does not need the symbol table.

Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-03 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: > When using libbfd to lookup source filename and line number, > libbfd does not need the symbol table. Removing the symbol > table reading, doubles the speed of 'perf script' with the > 'srcline' option. [root@zoo ~]# gdb perf

Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-03 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: When using libbfd to lookup source filename and line number, libbfd does not need the symbol table. Removing the symbol table reading, doubles the speed of 'perf script' with the 'srcline' option. [root@zoo ~]# gdb perf run

[PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-02 Thread Adrian Hunter
When using libbfd to lookup source filename and line number, libbfd does not need the symbol table. Removing the symbol table reading, doubles the speed of 'perf script' with the 'srcline' option. Signed-off-by: Adrian Hunter --- tools/perf/util/srcline.c | 53

[PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-02 Thread Adrian Hunter
When using libbfd to lookup source filename and line number, libbfd does not need the symbol table. Removing the symbol table reading, doubles the speed of 'perf script' with the 'srcline' option. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/srcline.c | 53