MINOR: debug: copy the thread info into the post_mortem struct
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Nov 2023 17:30:19 +0000 (18:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Nov 2023 14:39:21 +0000 (15:39 +0100)
commit37e3dd718cba8ebea1a723ad49871d582829af92
tree38ab67073bf46448a89e83f4e6c708861a02ff1c
parentc0eec3a4aaae3cdccff0847aec7303f184da835b
MINOR: debug: copy the thread info into the post_mortem struct

The last starting thread now copies the pthread ID and stack top of
each thread into post_mortem. That way it's as easy as issuing
"p post_mortem" in gdb to see all thread IDs and stack frames and more
easily map them to the threads met in a core.
src/debug.c