MINOR: debug: replace ha_thread_dump() with its two components
authorWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 12:15:20 +0000 (14:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Oct 2024 13:54:53 +0000 (15:54 +0200)
commit1b176e76598f453642cf0f454d1d32f5ab6089df
tree306083a9ccfce0cbf06f15b50e4eab22a70e46b9
parent97c10c4bbcda354c55cf2bdb1b951b75574f7f06
MINOR: debug: replace ha_thread_dump() with its two components

At the few places we were calling ha_thread_dump(), now we're
calling separately ha_thread_dump_fill() and ha_thread_dump_done()
once the data are consumed.

(cherry picked from commit afeac4bc026e64e27d99e50480bff5bc1ee60cb9)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/debug.h
src/debug.c