]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: traces: add USE_TRACE allowing to disable traces
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Apr 2026 07:07:49 +0000 (09:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 May 2026 09:46:43 +0000 (11:46 +0200)
commitd142c7f421290ae4e42239746a1eecbc8fd04dbf
tree64dec9e7d6138715a20f14c527cc41b8ef7c5765
parent8dd31dcd07b79ac9bea6bc222e497bd5fc7ed76a
BUILD: traces: add USE_TRACE allowing to disable traces

This reduces the total code size by 6-10% and speeds up the build a
bit. It can be further reduced by disabling the trace decoding code
inside certain subsystems like muxes. But at least like this it will
help users on small systems to reduce the footprint when not needed
by explicitly passing USE_TRACE=0 (they remain enabled by default).
Makefile
include/haproxy/trace.h