Signals: Print backtrace on SIGUSR2
authorBen Gamari <bgamari.foss@gmail.com>
Sat, 17 Oct 2015 14:45:26 +0000 (16:45 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 17 Oct 2015 14:51:32 +0000 (16:51 +0200)
commit40cbf9aaa16fd263c54e159a4bda3a5682720041
treecc62031d348a2b57ccc02ad99e25e75447bc8472
parenta6a3dabc9e6b1cfc2f4047d2d09efe634affb120
Signals: Print backtrace on SIGUSR2

This uses the backtrace support introduced in D1196 to provide
backtraces from Haskell processes when SIGUSR2 is thrown.

Test Plan: Need to add a test.

Reviewers: scpmw, simonmar, Tarrasch, austin

Reviewed By: austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1197
rts/posix/Signals.c