]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: pools: store the pool registration file name and line number
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Aug 2025 07:43:39 +0000 (09:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Aug 2025 17:20:32 +0000 (19:20 +0200)
commitefa856a8b02383c876419abc0da176b26703feb5
treed84ee3e478b0dfba2c2cab12c918f8621c11546c
parentff62aacb208151ddedb9a0d146b8d721fd1eafb8
DEBUG: pools: store the pool registration file name and line number

When pools are declared using DECLARE_POOL(), REGISTER_POOL etc, we
know where they are and it's trivial to retrieve the file name and line
number, so let's store them in the pool_registration, and display them
when known in "show pools detailed".
include/haproxy/pool-t.h
include/haproxy/pool.h
src/pool.c