Messages in this thread | | | From | "Liang, Kan" <> | Subject | RE: [PATCH V5 1/1] perf tool:perf diff support for different binaries | Date | Tue, 2 Dec 2014 15:51:13 +0000 |
| |
> > Em Fri, Nov 21, 2014 at 10:55:48AM -0500, kan.liang@intel.com escreveu: > > From: Kan Liang <kan.liang@intel.com> > > > > 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 a simple examples (Only change f2 and f3 functions location.) > > There is no change in behavior, but the old perf diff display the > > wrong differential profile. > > [acme@zoo linux]$ am /wb/1.patch > Applying: perf tool:perf diff support for different binaries > /home/acme/git/linux/.git/rebase-apply/patch:23: trailing whitespace. > If no parameters are passed the samples will be sorted by dso and symbol. > /home/acme/git/linux/.git/rebase-apply/patch:26: trailing whitespace. > symbols name. > warning: 2 lines add whitespace errors. >
Sorry for the inconvenience, I will repost a clean version then.
Thanks, Kan
> [1]+ Stopped am /wb/1.patch > [acme@zoo linux]$ > > Fixing this up this time. > > Please consider: > > chmod +x .git/hooks/* > > - Arnaldo
| |