]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: also add a pointer to struct global to post_mortem
authorWilly Tarreau <w@1wt.eu>
Sat, 26 Oct 2024 09:33:09 +0000 (11:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 26 Oct 2024 09:33:09 +0000 (11:33 +0200)
commit2f04ebe14aca91f4a0fafcd03a0f310d98d97aaf
treef1ce6c631d26404d6af69dc7458d8d4e69b8b073
parentdc1c0a169c53cd941c340f9bfc690c18333ff607
MINOR: debug: also add a pointer to struct global to post_mortem

The pointer to struct global is also an important element to have in
post_mortem given that it's used a lot to take decisions in the code.
Let's just add it. It's worth noting that we could get rid of argc/argv
at this point since they're also present in the global struct, but they
don't cost much there anyway.
src/debug.c