[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131211124514.GB1894@gmail.com>
Date: Wed, 11 Dec 2013 13:45:14 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Dave Jones <davej@...hat.com>,
Darren Hart <dvhart@...ux.intel.com>,
Oleg Nesterov <oleg@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Andrea Arcangeli <aarcange@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Mel Gorman <mgorman@...e.de>,
Arnaldo Carvalho de Melo <acme@...radead.org>
Subject: Re: process 'stuck' at exit.
* Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> On Tue, Dec 10, 2013 at 1:32 PM, Dave Jones <davej@...hat.com> wrote:
> >
> > http://www.codemonkey.org.uk/junk/perf.data.xz
>
> "Forbidden
>
> You don't have permission to access /junk/perf.data.xz on this server."
>
> also, we'd need the vmlinux file to actually decode the data, I think.
So my point is somewhat moot in light of a fix patch, but the best way
to export all interesting data is via running 'perf archive' after the
perf.data got created:
comet:~/tip> perf archive
Now please run:
$ tar xvf perf.data.tar.bz2 -C ~/.debug
wherever you need to run 'perf report' on.
comet:~/tip>
and copying over both the perf.data and the perf.data.tar.bz2.
Arnaldo, I think we should make it even easier and more obvious to
export/import perf data, via something like:
perf clean # cleans out ~/.debug
perf record ...
perf export # creates perf.data.tar.bz2 which includes perf.data as well, not just .debug
and then whoever gets a perf.data.tar.bz2 can do:
perf import # does 'tar xjvf perf.data.tar.bz2'
perf report # analyze the data as if it was captured on your own box
which extracts it into the local directory. This makes the whole thing
rather easy and makes the result complete and trustable.
What do you think?
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists