]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: create ha_backtrace_to_stderr() to dump an instant backtrace
authorWilly Tarreau <w@1wt.eu>
Fri, 22 Jan 2021 13:12:27 +0000 (14:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 22 Jan 2021 13:15:36 +0000 (14:15 +0100)
commita8459b28c32c95898916c073b5ffb616eb86862f
treec43861660f91b584407eb4aa2577deff7925e7d2
parent123fc9786a570187e8221f7f359b39b03667a14c
MINOR: debug: create ha_backtrace_to_stderr() to dump an instant backtrace

This function calls the ha_dump_backtrace() function with a locally
allocated buffer and sends the output slightly indented to fd #2. It's
meant to be used as an emergency backtrace dump.
include/haproxy/debug.h
src/debug.c