* [PATCH 1/1] perf archive: Explain how to use the generated tarball @ 2010-03-23 17:33 Arnaldo Carvalho de Melo 2010-03-23 18:49 ` Ingo Molnar 0 siblings, 1 reply; 5+ messages in thread From: Arnaldo Carvalho de Melo @ 2010-03-23 17:33 UTC (permalink / raw) To: Ingo Molnar Cc: linux-kernel, Arnaldo Carvalho de Melo, Frédéric Weisbecker, Mike Galbraith, Peter Zijlstra, Paul Mackerras From: Arnaldo Carvalho de Melo <acme@redhat.com> [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 ~]# Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/perf-archive.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tools/perf/perf-archive.sh b/tools/perf/perf-archive.sh index 910468e..2e7a4f4 100644 --- a/tools/perf/perf-archive.sh +++ b/tools/perf/perf-archive.sh @@ -30,4 +30,7 @@ done tar cfj $PERF_DATA.tar.bz2 -C $DEBUGDIR -T $MANIFEST rm -f $MANIFEST $BUILDIDS +echo -e "Now please run:\n" +echo -e "$ tar xvf $PERF_DATA.tar.bz2 -C ~/.debug\n" +echo "wherever you need to run 'perf report' on." exit 0 -- 1.6.2.5 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] perf archive: Explain how to use the generated tarball 2010-03-23 17:33 [PATCH 1/1] perf archive: Explain how to use the generated tarball Arnaldo Carvalho de Melo @ 2010-03-23 18:49 ` Ingo Molnar 2010-03-23 19:29 ` Arnaldo Carvalho de Melo 0 siblings, 1 reply; 5+ messages in thread From: Ingo Molnar @ 2010-03-23 18:49 UTC (permalink / raw) To: Arnaldo Carvalho de Melo Cc: linux-kernel, Arnaldo Carvalho de Melo, Fr??d??ric Weisbecker, Mike Galbraith, Peter Zijlstra, Paul Mackerras * Arnaldo Carvalho de Melo <acme@infradead.org> wrote: > From: Arnaldo Carvalho de Melo <acme@redhat.com> > > [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? Ingo ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] perf archive: Explain how to use the generated tarball 2010-03-23 18:49 ` Ingo Molnar @ 2010-03-23 19:29 ` Arnaldo Carvalho de Melo 2010-03-23 19:32 ` Ingo Molnar 0 siblings, 1 reply; 5+ messages in thread From: Arnaldo Carvalho de Melo @ 2010-03-23 19:29 UTC (permalink / raw) To: Ingo Molnar Cc: linux-kernel, Frédéric Weisbecker, Mike Galbraith, Peter Zijlstra, Paul Mackerras Em Tue, Mar 23, 2010 at 07:49:29PM +0100, Ingo Molnar escreveu: > * Arnaldo Carvalho de Melo <acme@infradead.org> wrote: > > > From: Arnaldo Carvalho de Melo <acme@redhat.com> > > > > [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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] perf archive: Explain how to use the generated tarball 2010-03-23 19:29 ` Arnaldo Carvalho de Melo @ 2010-03-23 19:32 ` Ingo Molnar 2010-03-23 19:53 ` Arnaldo Carvalho de Melo 0 siblings, 1 reply; 5+ messages in thread From: Ingo Molnar @ 2010-03-23 19:32 UTC (permalink / raw) To: Arnaldo Carvalho de Melo Cc: linux-kernel, Fr?d?ric Weisbecker, Mike Galbraith, Peter Zijlstra, Paul Mackerras * Arnaldo Carvalho de Melo <acme@infradead.org> wrote: > Em Tue, Mar 23, 2010 at 07:49:29PM +0100, Ingo Molnar escreveu: > > * Arnaldo Carvalho de Melo <acme@infradead.org> wrote: > > > > > From: Arnaldo Carvalho de Melo <acme@redhat.com> > > > > > > [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. Yeah - although we definitely want to keep it relatively simple - robust archiving and cross-system transport is abot simplicity. > So if you can get this one in, the current situation would be improved and > I'll eventually get to implement your suggestion. Sure, just wanted to mention this. Ingo ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] perf archive: Explain how to use the generated tarball 2010-03-23 19:32 ` Ingo Molnar @ 2010-03-23 19:53 ` Arnaldo Carvalho de Melo 0 siblings, 0 replies; 5+ messages in thread From: Arnaldo Carvalho de Melo @ 2010-03-23 19:53 UTC (permalink / raw) To: Ingo Molnar Cc: linux-kernel, Frédéric Weisbecker, Mike Galbraith, Peter Zijlstra, Paul Mackerras Em Tue, Mar 23, 2010 at 08:32:46PM +0100, Ingo Molnar escreveu: > > * Arnaldo Carvalho de Melo <acme@infradead.org> wrote: > > > Em Tue, Mar 23, 2010 at 07:49:29PM +0100, Ingo Molnar escreveu: > > > * Arnaldo Carvalho de Melo <acme@infradead.org> wrote: > > > > > > > From: Arnaldo Carvalho de Melo <acme@redhat.com> > > > > > > > > [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. > > Yeah - although we definitely want to keep it relatively simple - robust > archiving and cross-system transport is abot simplicity. Yeah, 'perf archive' will be enough and use the defaults we deem best, but I just wanted to allow people to have some configurability to avoid huge DWARF laden binaries, for instance, when all a class of users may want is to do simple symbol resolution, not full blown source annotation, pick the compressor du jour, etc. > > So if you can get this one in, the current situation would be improved and > > I'll eventually get to implement your suggestion. > > Sure, just wanted to mention this. Notes taken! :-) - Arnaldo ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-03-23 19:53 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-03-23 17:33 [PATCH 1/1] perf archive: Explain how to use the generated tarball Arnaldo Carvalho de Melo 2010-03-23 18:49 ` Ingo Molnar 2010-03-23 19:29 ` Arnaldo Carvalho de Melo 2010-03-23 19:32 ` Ingo Molnar 2010-03-23 19:53 ` Arnaldo Carvalho de Melo
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.