]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: always export the my_backtrace function
authorWilly Tarreau <w@1wt.eu>
Fri, 22 Jan 2021 11:12:29 +0000 (12:12 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 22 Jan 2021 11:12:29 +0000 (12:12 +0100)
commit2f1227eb3f1c7f08d9c0dbecc426c3960e98c867
tree0b984682bfc150abb469f7773f13aab7934bc23b
parent3d4631fec626c5aa8f12582ee3713563b5e38519
MINOR: debug: always export the my_backtrace function

In order to simplify the code and remove annoying ifdefs everywhere,
let's always export my_backtrace() and make it adapt to the situation
and return zero if not supported. A small update in the thread dump
function was needed to make sure we don't use its results if it fails
now.
include/haproxy/tools.h
src/debug.c