Re: [PATCH 1/1] perf archive: Explain how to use the generatedtarball

From: Arnaldo Carvalho de Melo
Date: Tue Mar 23 2010 - 15:30:11 EST


Em Tue, Mar 23, 2010 at 07:49:29PM +0100, Ingo Molnar escreveu:
> * Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxx> wrote:
>
> > From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> >
> > [root@doppio ~]# perf archive
> > Now please run:
> >
> > $ tar xvf perf.data.tar.bz2 -C ~/.debug
> >
> > wherever you need to run 'perf report' on.
> > [root@doppio ~]#
>
> hm, i think it would be nicer to have a way to both pack and unpack an archive
> that is in the current directory. Something like:
>
> perf archive pack
> perf archive unpack
>
> or so?

Yes, its just that this was easy enough to improve the current
situation, this is still a shell script that I wrote as a way to show
how to do some porcelain out of 'perf buildid-list'.

But it probably will be better to have it as a full fledged tool, as I
can imagine people asking for .tar.xz support, and I also want to be
able to tell it to strip debugging information, putting there just the
symtabs, etc.

So if you can get this one in, the current situation would be improved
and I'll eventually get to implement your suggestion.

- Arnaldo
--
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/