Commit b890e88d authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

rts: Print message before SIGUSR2 backtrace

Reviewers: austin, erikd, simonmar

Subscribers: rwbarton, thomie

Differential Revision:
parent dafa0128
......@@ -539,6 +539,7 @@ backtrace_handler(int sig STG_UNUSED)
LibdwSession *session = libdwInit();
Backtrace *bt = libdwGetBacktrace(session);
fprintf(stderr, "\nCaught SIGUSR2; Backtrace:\n");
libdwPrintBacktrace(session, stderr, bt);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment