RE: [PATCH V6 1/1] perf tool: perf diff support for different binaries

2015-01-26 Thread Liang, Kan
> > Em Tue, Dec 02, 2014 at 10:39:18AM -0500, kan.li...@intel.com escreveu: > > From: Kan Liang > > > > Currently, the perf diff only works with same binaries. That's because > > it compares the symbol start address. It doesn't work if the perf.data > > comes from different binaries. This patch

RE: [PATCH V6 1/1] perf tool: perf diff support for different binaries

2015-01-12 Thread Liang, Kan
> Em Tue, Jan 06, 2015 at 11:53:56AM -0300, Arnaldo Carvalho de Melo > escreveu: > > Em Tue, Dec 02, 2014 at 10:39:18AM -0500, kan.li...@intel.com escreveu: > > > Currently, the perf diff only works with same binaries. That's > > > because it compares the symbol start address. It doesn't work if th

RE: [PATCH V6 1/1] perf tool: perf diff support for different binaries

2015-01-06 Thread Liang, Kan
> Em Tue, Dec 02, 2014 at 10:39:18AM -0500, kan.li...@intel.com escreveu: > > From: Kan Liang > > > > Currently, the perf diff only works with same binaries. That's because > > it compares the symbol start address. It doesn't work if the perf.data > > comes from different binaries. This patch ma

Re: [PATCH V6 1/1] perf tool: perf diff support for different binaries

2015-01-06 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 06, 2015 at 11:53:56AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Dec 02, 2014 at 10:39:18AM -0500, kan.li...@intel.com escreveu: > > Currently, the perf diff only works with same binaries. That's because > > it compares the symbol start address. It doesn't work if the perf.dat

Re: [PATCH V6 1/1] perf tool: perf diff support for different binaries

2015-01-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 02, 2014 at 10:39:18AM -0500, kan.li...@intel.com escreveu: > From: Kan Liang > > Currently, the perf diff only works with same binaries. That's because > it compares the symbol start address. It doesn't work if the perf.data > comes from different binaries. This patch matches the fun

RE: [PATCH V6 1/1] perf tool: perf diff support for different binaries

2015-01-05 Thread Liang, Kan
Hi Arnaldo, The patch is one month old. Kim and Jirka have reviewed it. There is also another perf diff related patch which has similar situation. https://lkml.org/lkml/2014/12/1/380 It was also reviewed by Jirka a month ago. Both of them still apply to current perf/core. Should I re-post them

[PATCH V6 1/1] perf tool: perf diff support for different binaries

2014-12-02 Thread kan . liang
From: Kan Liang Currently, the perf diff only works with same binaries. That's because it compares the symbol start address. It doesn't work if the perf.data comes from different binaries. This patch matches the function names. Here is an examples. The only difference between example_v1.c and ex