]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: don't emit "+0" for symbol names which exactly match known ones
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Sep 2025 08:27:07 +0000 (10:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Sep 2025 08:44:33 +0000 (10:44 +0200)
commit997d217deecd3ef9db554ed84efc945431a2f4ef
tree0ebb8e1e3f534fa7515ac4b428af70a54031cfd3
parent9eb35563a654d24544dd037aeef0494793070c7e
MINOR: tools: don't emit "+0" for symbol names which exactly match known ones

resolve_sym_name() knows a number of symbols, but when one exactly matches
(e.g. a task's handler), it systematically displays the offset behind it
("+0"). Let's only show the offset when non-zero. This can be backported
as this is helpful for debugging.
src/tools.c