commit | 2bfce7e424db23392302b925670b8486af925a9f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jan 22 14:48:34 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 22 14:48:34 2021 +0100 |
tree | c94ec0a33709795626d3fa4e8f08cf299970642c | |
parent | 5baf4fe31ad2a5b1e0402c0a6d580dda203a2dab [diff] |
MINOR: debug: let ha_dump_backtrace() dump a bit further for some callers The dump state is now passed to the function so that the caller can adjust the behavior. A new series of 4 values allow to stop *after* dumping main instead of before it or any of the usual loops. This allows to also report BUG_ON() that could happen very high in the call graph (e.g. startup, or the scheduler itself) while still understanding what the call path was.