haproxy/include
Willy Tarreau 502790ed7e MINOR: debug: add a new counter type for glitches
COUNT_GLITCH() will implement an unconditional counter on its declaration
line when DEBUG_GLITCHES is set, and do nothing otherwise. The output will
be reported as "GLT" and can be filtered as "glt" on the CLI. The purpose
is to help figure what's happening if some glitches counters start going
through the roof. The macro supports an optional string argument to
describe the cause of the glitch (e.g. "truncated header"), which is then
reported in the dump.

For now this is conditioned by DEBUG_GLITCHES but if it turns out to be
light enough, maybe we'll keep it enabled full time. In this case it
might have to be moved away from debug dev, or at least documented (or
done as debug counters maybe so that dev can remain undocumented and
updatable within a branch?).
2024-11-14 08:49:38 +01:00
..
haproxy MINOR: debug: add a new counter type for glitches 2024-11-14 08:49:38 +01:00
import BUILD: import/mt_list: support building with TCC 2024-11-05 15:43:17 +01:00
make BUILD: makefile: support USE_xxx=0 as well 2024-04-11 11:06:19 +02:00