Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-08-05 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 03, 2013 at 04:45:03PM +0300, Adrian Hunter escreveu: > On 31/07/2013 5:17 p.m., Arnaldo Carvalho de Melo wrote: > >Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: > >>Using the information in mmap events, perf tools can read object > >>code associated with sampled add

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-08-03 Thread Adrian Hunter
On 31/07/2013 8:46 p.m., Arnaldo Carvalho de Melo wrote: Em Wed, Jul 31, 2013 at 02:28:33PM -0300, Arnaldo Carvalho de Melo escreveu: Still investigating, but the attached patch is needed to handle such failure cases: [root@zoo ~]# perf test 21 21: Test object code reading

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-08-03 Thread Adrian Hunter
On 31/07/2013 8:28 p.m., Arnaldo Carvalho de Melo wrote: Em Wed, Jul 31, 2013 at 11:58:20AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: > > Using the information in mmap events, perf tools can read object > > code associated

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-08-03 Thread Adrian Hunter
On 31/07/2013 5:17 p.m., Arnaldo Carvalho de Melo wrote: Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: Using the information in mmap events, perf tools can read object code associated with sampled addresses. A test is added that compares bytes read by perf with the same byte

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-07-31 Thread Namhyung Kim
Hi Peter, On Wed, Jul 31, 2013 at 11:24 PM, Peter Zijlstra wrote: > On Wed, Jul 31, 2013 at 11:17:32AM -0300, Arnaldo Carvalho de Melo wrote: >> Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: >> > Using the information in mmap events, perf tools can read object >> > code associ

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-07-31 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 31, 2013 at 02:28:33PM -0300, Arnaldo Carvalho de Melo escreveu: > Still investigating, but the attached patch is needed to handle such > failure cases: > [root@zoo ~]# perf test 21 > 21: Test object code reading : FAILED! > [root@zoo ~]# perf test -v 21

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-07-31 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 31, 2013 at 11:58:20AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: > > Using the information in mmap events, perf tools can read object > > code associated with sampled addresses. A test is added that > > compares bytes

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-07-31 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: > Using the information in mmap events, perf tools can read object > code associated with sampled addresses. A test is added that > compares bytes read by perf with the same bytes read using > objdump. investigating... [root@zoo ~

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-07-31 Thread Peter Zijlstra
On Wed, Jul 31, 2013 at 11:17:32AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: > > Using the information in mmap events, perf tools can read object > > code associated with sampled addresses. A test is added that > > compares bytes rea

Re: [PATCH V2 1/9] perf tools: add test for reading object code

2013-07-31 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 31, 2013 at 12:13:50AM +0300, Adrian Hunter escreveu: > Using the information in mmap events, perf tools can read object > code associated with sampled addresses. A test is added that > compares bytes read by perf with the same bytes read using > objdump. So this parses objdump output

[PATCH V2 1/9] perf tools: add test for reading object code

2013-07-30 Thread Adrian Hunter
Using the information in mmap events, perf tools can read object code associated with sampled addresses. A test is added that compares bytes read by perf with the same bytes read using objdump. Signed-off-by: Adrian Hunter --- tools/perf/Makefile | 1 + tools/perf/tests/builtin-te