]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: make ha_thread_dump() and ha_task_dump() take a buffer
authorWilly Tarreau <w@1wt.eu>
Fri, 17 May 2019 08:36:08 +0000 (10:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 May 2019 15:16:20 +0000 (17:16 +0200)
commit5cf64dd1bd20ba4a2870e09ff8c91997451f95b5
treef1bbdab4fd68ed31ad591b5a5f83d731512f626c
parent14a1ab75d0c7cad46bd343f74702dc4f864f7f12
MINOR: debug: make ha_thread_dump() and ha_task_dump() take a buffer

Instead of having them dump into the trash and initialize it, let's have
the caller initialize a buffer and pass it. This will be convenient to
dump multiple threads at once into a single buffer.
include/common/debug.h
src/debug.c