]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: extract the backtrace dumping code to its own function
authorWilly Tarreau <w@1wt.eu>
Fri, 22 Jan 2021 12:52:41 +0000 (13:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 22 Jan 2021 12:52:41 +0000 (13:52 +0100)
commit123fc9786a570187e8221f7f359b39b03667a14c
treedd496d66925cf475c4c8ae636cec6204659ff0da
parent2f1227eb3f1c7f08d9c0dbecc426c3960e98c867
MINOR: debug: extract the backtrace dumping code to its own function

The backtrace dumping code was located into the thread dump function
but it looks particularly convenient to be able to call it to produce
a dump in other situations, so let's move it to its own function and
make sure it's called last in the function so that we can benefit from
tail merging to save one entry.
include/haproxy/debug.h
src/debug.c