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 <[email protected]> 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 <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
