path: root/tools/perf/builtin-top.c
diff options
authorIngo Molnar <>2015-08-20 11:47:14 +0200
committerIngo Molnar <>2015-08-20 11:47:14 +0200
commit196676497f2507966f99abef63bede6a8550f8b3 (patch)
treebe58cfeca954483721fa4864db952fc0b032fb63 /tools/perf/builtin-top.c
parent1b647a166f07dcf08709c8606470f4b17a4aa11d (diff)
parent09f4d78ab0af0973e1a49c10eb7bf977c68cc3aa (diff)
Merge tag 'perf-urgent-for-mingo' of git:// into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo: - Fix buildid processing done at the end of a 'perf record' session, a problem that happened in workloads involving lots of small short-lived processes. That code was not asking the perf_session layer to order the events. Make the code more robust to handle some of the problems with such out-of-order events and fix 'perf record' to ask for ordered events on systems where we have perf_event_attr.sample_id_all. (Adrian Hunter) - Show backtrace when handling a SIGSEGV in 'perf top --stdio' (Arnaldo Carvalho de Melo) Signed-off-by: Arnaldo Carvalho de Melo <> Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'tools/perf/builtin-top.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index ecf319728f25..6135cc07213c 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -601,8 +601,8 @@ static void display_sig(int sig __maybe_unused)
static void display_setup_sig(void)
- signal(SIGSEGV, display_sig);
- signal(SIGFPE, display_sig);
+ signal(SIGSEGV, sighandler_dump_stack);
+ signal(SIGFPE, sighandler_dump_stack);
signal(SIGINT, display_sig);
signal(SIGQUIT, display_sig);
signal(SIGTERM, display_sig);