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 <dsah...@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 <dsah...@gmail.com>
    Cc: Frederic Weisbecker <fweis...@gmail.com>
    Cc: Ingo Molnar <mi...@kernel.org>
    Cc: Peter Zijlstra <pet...@infradead.org>
    Link:
http://lkml.kernel.org/r/1346005487-62961-8-git-send-email-dsah...@gmail.com
    Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>



--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to