linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Perf record premature termination
@ 2013-02-11 18:50 Tim Chen
  2013-02-11 19:05 ` David Ahern
  2013-02-11 19:34 ` David Ahern
  0 siblings, 2 replies; 7+ messages in thread
From: Tim Chen @ 2013-02-11 18:50 UTC (permalink / raw)
  To: David Ahern
  Cc: Arnaldo Carvalho de Melo, Frederic Weisbecker, Ingo Molnar,
	Peter Zijlstra, linux-perf-users, ak

David,

When I am doing a profiling of kernel compile with 32 threads on a 4
socket westmere machine, I found that perf record terminated right away
for the version of perf in 3.7 kernel source tree.
There's no profile data recroded and the compile is running in
background.

$ make -j32 &
then
$ sudo /test/perf record -a -g -f sleep 5
sleep: Terminated

I've bisected the patch responsible to the following patch.

Tim


8d3eca20b9f31cf10088e283d704f6a71b9a4ee2 is the first bad commit
commit 8d3eca20b9f31cf10088e283d704f6a71b9a4ee2
Author: David Ahern <dsahern@gmail.com>
Date:   Sun Aug 26 12:24:47 2012 -0600

    perf record: Remove use of die/exit
    
    Allows perf to clean up properly on exit. If perf-record is exiting
due
    to failure, the on_exit should not run as the session has been
deleted.
    
    Signed-off-by: David Ahern <dsahern@gmail.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Link:
http://lkml.kernel.org/r/1346005487-62961-8-git-send-email-dsahern@gmail.com
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-12 17:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 18:50 Perf record premature termination Tim Chen
2013-02-11 19:05 ` David Ahern
2013-02-11 19:34 ` David Ahern
2013-02-11 22:15   ` Tim Chen
2013-02-11 22:30     ` David Ahern
2013-02-12 17:07       ` Tim Chen
2013-02-12 17:16         ` 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).