]> granicus.if.org Git - zfs/commit
ztest: print backtrace on SIGSEGV and SIGABRT
authorNed Bass <bass6@llnl.gov>
Sat, 11 Oct 2014 01:05:54 +0000 (18:05 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Oct 2014 17:39:39 +0000 (10:39 -0700)
commite82cdc3acc4afe52c3ddc3fe9e4f456fdef80f41
treed004814272246ef12eeeb07b9f5721da1602f621
parentbf2850de82af89b6d56fbbe9ee99bd9f09c628dc
ztest: print backtrace on SIGSEGV and SIGABRT

Add signal handlers to print a backtrace if we crash or assert.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2788
cmd/ztest/ztest.c