]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: pools: also retrieve file and line for direct callers of create_pool()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Aug 2025 07:50:42 +0000 (09:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Aug 2025 17:20:34 +0000 (19:20 +0200)
commitac23b873f5a1e448b8a0e612a2b7868f60f7bb4d
tree921aeb671e40367804be05ddefaec17a2bac0d33
parentefa856a8b02383c876419abc0da176b26703feb5
DEBUG: pools: also retrieve file and line for direct callers of create_pool()

Just like previous patch, we want to retrieve the location of the caller.
For this we turn create_pool() into a macro that collects __FILE__ and
__LINE__ and passes them to the now renamed function create_pool_with_loc().

Now the remaining ~30 pools also have their location stored.
include/haproxy/pool.h
src/pool.c