* perf report does not get along with perf record -A
[not found] <1974638847.4574239.1340667841898.JavaMail.root@mozilla.com>
@ 2012-06-26 0:10 ` Martin Rosenberg
2012-06-26 4:40 ` David Ahern
2012-06-26 14:24 ` David Ahern
0 siblings, 2 replies; 4+ messages in thread
From: Martin Rosenberg @ 2012-06-26 0:10 UTC (permalink / raw)
To: linux-kernel
I'm working under the assumption that if I want to collect statistics from multiple runs of a program, I can do this by running
perf record prog; perf record -A prog; perf record -A prog
I've found that running perf record twice results in perf report hanging, and running it more than twice results in perf report first spewing a message about invalid formats, then crashing.
A log of the session, as well as the binary, its input and perf.data can be found at:
http://www.club.cc.cmu.edu/~mjrosenb/ion/perf_crash.tar.gz
Thanks --Marty
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: perf report does not get along with perf record -A
2012-06-26 0:10 ` perf report does not get along with perf record -A Martin Rosenberg
@ 2012-06-26 4:40 ` David Ahern
2012-06-26 5:04 ` Martin Rosenberg
2012-06-26 14:24 ` David Ahern
1 sibling, 1 reply; 4+ messages in thread
From: David Ahern @ 2012-06-26 4:40 UTC (permalink / raw)
To: Martin Rosenberg; +Cc: linux-kernel
On 6/25/12 6:10 PM, Martin Rosenberg wrote:
> I'm working under the assumption that if I want to collect statistics from multiple runs of a program, I can do this by running
> perf record prog; perf record -A prog; perf record -A prog
>
> I've found that running perf record twice results in perf report hanging, and running it more than twice results in perf report first spewing a message about invalid formats, then crashing.
> A log of the session, as well as the binary, its input and perf.data can be found at:
What does 'perf --version' show?
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: perf report does not get along with perf record -A
2012-06-26 4:40 ` David Ahern
@ 2012-06-26 5:04 ` Martin Rosenberg
0 siblings, 0 replies; 4+ messages in thread
From: Martin Rosenberg @ 2012-06-26 5:04 UTC (permalink / raw)
To: David Ahern; +Cc: linux-kernel
Derp. I went through all of that effort to make sure I had recorded everything about my setup, and I forgot the versiou
perf version 3.2.17
built unpatched from a 3.4.4 tarball
----- Original Message -----
From: "David Ahern" <dsahern@gmail.com>
To: "Martin Rosenberg" <mrosenberg@mozilla.com>
Cc: linux-kernel@vger.kernel.org
Sent: Monday, June 25, 2012 9:40:49 PM
Subject: Re: perf report does not get along with perf record -A
On 6/25/12 6:10 PM, Martin Rosenberg wrote:
> I'm working under the assumption that if I want to collect statistics from multiple runs of a program, I can do this by running
> perf record prog; perf record -A prog; perf record -A prog
>
> I've found that running perf record twice results in perf report hanging, and running it more than twice results in perf report first spewing a message about invalid formats, then crashing.
> A log of the session, as well as the binary, its input and perf.data can be found at:
What does 'perf --version' show?
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: perf report does not get along with perf record -A
2012-06-26 0:10 ` perf report does not get along with perf record -A Martin Rosenberg
2012-06-26 4:40 ` David Ahern
@ 2012-06-26 14:24 ` David Ahern
1 sibling, 0 replies; 4+ messages in thread
From: David Ahern @ 2012-06-26 14:24 UTC (permalink / raw)
To: Martin Rosenberg; +Cc: linux-kernel, Arnaldo Carvalho de Melo, Thomas Gleixner
On 6/25/12 6:10 PM, Martin Rosenberg wrote:
> I'm working under the assumption that if I want to collect statistics from multiple runs of a program, I can do this by running
> perf record prog; perf record -A prog; perf record -A prog
>
> I've found that running perf record twice results in perf report hanging, and running it more than twice results in perf report first spewing a message about invalid formats, then crashing.
> A log of the session, as well as the binary, its input and perf.data can be found at:
>
> http://www.club.cc.cmu.edu/~mjrosenb/ion/perf_crash.tar.gz
Append has been broken for a long time (v2.6.36 last working version).
git bisect points to:
commit 55b44629f599a2305265ae9c77f9d9bcfd6ddc17
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Tue Nov 30 17:49:46 2010 +0000
perf session: Use sensible mmap size
On 64bit we can map the whole file in one go, on 32bit we can at
least map
32MB and not map/unmap tiny chunks of the file.
Base the progress bar on 1/16 of the data size.
Preparatory patch to get rid of the malloc/memcpy/free of trace data.
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20101130163820.213687773@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
:040000 040000 a0d7ddfb30b562a548052b12b142b579aa888886
dd4e368cbdf0ba24126afcc0fe42feea3b68f4a7 M tools
The commit right before that one (d65132) dumps some errors, but at
least does not hang -- spinning in the event processing.
David
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-06-26 14:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1974638847.4574239.1340667841898.JavaMail.root@mozilla.com>
2012-06-26 0:10 ` perf report does not get along with perf record -A Martin Rosenberg
2012-06-26 4:40 ` David Ahern
2012-06-26 5:04 ` Martin Rosenberg
2012-06-26 14:24 ` David Ahern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).