Re: [PATCHv2 00/14] perf diff: Factor diff command
From: Andi Kleen
Date: Wed Oct 03 2012 - 12:56:02 EST
On Wed, Oct 03, 2012 at 06:18:16PM +0200, Andi Kleen wrote:
> On Wed, Oct 03, 2012 at 06:47:57AM -0700, Arnaldo Carvalho de Melo wrote:
> > Em Tue, Oct 02, 2012 at 06:30:02PM +0200, Andi Kleen escreveu:
> > > The other problem I ran into is that perf archive doesn't seem to work very
> > > well with kernels, so it's hard to move profiles from different kernels
> > > around to diff them (e.g. for a performance regression) One way around this
> > > would be options to diff to specify the vmlinux etc. manually
> >
> > Can you describe more precisely what is not working well with 'archive'
> > and build ids?
>
> It doesn't write anything to anywhere for me
>
> It also breaks with different perf binaries because it seems to just
> do system("perf ...") at some point. This may be related to this.
The problem is with the perf-archive script. After some hacking I got it running
now. I suspect the perf tool needs to pass its own executable name to
the script to run.
Also would be nice if another file than perf.data could be specified
(currently have to symlink)
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/