MINOR: debug: dump the whole trace if we can't spot the starting point
authorWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2020 06:39:32 +0000 (07:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 15:09:20 +0000 (17:09 +0200)
commit61341b422a3793fc2527ba5a553738a8524b16a8
tree6f1553112e05dbf63739378600b71853c36816fe
parent7fa4f2ae2eb1b7fefb9834bd05d3af506802de63
MINOR: debug: dump the whole trace if we can't spot the starting point

Instead of special-casing the use of the symbol resolving to decide
whether to dump a partial or complete trace, let's simply start over
and dump everything when we reach the end after having found nothing.
It will be more robust against dirty traces as well.

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