]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: debug: use struct ha_caller for memstat
authorWilly Tarreau <w@1wt.eu>
Tue, 6 Sep 2022 06:05:59 +0000 (08:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Sep 2022 12:19:15 +0000 (14:19 +0200)
commitd96d214b4ca443a8153830fdcf14c07500f2915f
tree57aa21dd341f0fa934d929e93ea14e17002217b6
parent7f2f1f294c073302df30de4f08fe1bd6be472936
CLEANUP: debug: use struct ha_caller for memstat

The memstats code currently defines its own file/function/line number,
type and extra pointer. We don't need to keep them separate and we can
easily replace them all with just a struct ha_caller. Note that the
extra pointer could be converted to a pool ID stored into arg8 or
arg32 and be dropped as well, but this would first require to define
IDs for pools (which we currently do not have).
include/haproxy/bug.h
include/haproxy/pool.h
src/debug.c