]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tinfo: keep a copy of the pointer to the thread dump buffer
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Apr 2025 06:29:39 +0000 (08:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Apr 2025 14:25:47 +0000 (16:25 +0200)
commit6d8a523d145a559d2ba4a14b46d27c73fe914c15
tree96e66500957d43eed050e3ff1c25642969177daa
parentd20e9cad6733d9a525ccfad63ef482d6ea63a676
MINOR: tinfo: keep a copy of the pointer to the thread dump buffer

Instead of using the thread dump buffer for post-mortem analysis, we'll
keep a copy of the assigned pointer whenever it's used, even for warnings
or "show threads". This will offer more opportunities to figure from a
core what happened, and will give us more freedom regarding the value of
the thread_dump_buffer itself. For example, even at the end of the dump
when the pointer is reset, the last used buffer is now preserved.
doc/internals/watchdog.txt
include/haproxy/tinfo-t.h
src/debug.c