MINOR: debug: implement ha_panic()
authorWilly Tarreau <w@1wt.eu>
Mon, 20 May 2019 11:48:29 +0000 (13:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 20 May 2019 14:51:30 +0000 (16:51 +0200)
commit56131ca58e3427fbee48db6da381db7daf367774
tree21ef799e728b1955bb591df7173f61547b9ed0e4
parent9fc5dcbd715a0f18157c4dd59b57edbddf547494
MINOR: debug: implement ha_panic()

This function dumps all existing threads using the thread dump mechanism
then aborts. This will be used by the lockup detection and by debugging
tools.
include/common/debug.h
src/debug.c