]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/activity: add 3 general purpose counters in development mode
authorWilly Tarreau <w@1wt.eu>
Mon, 27 May 2019 05:03:38 +0000 (07:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 May 2019 05:03:38 +0000 (07:03 +0200)
commitd6a7850200bb65b39602e74d17cc604247126086
tree673f215caaf43a5713c45ab1b3a879280e8dbf16
parent394c9b421537e87fb5061721c01996e3eb827479
MINOR: cli/activity: add 3 general purpose counters in development mode

The unused fd_del and fd_skip were being abused during debugging sessions
as general purpose event counters. With their removal, let's officially
have dedicated counters for such use cases. These counters are called
"ctr0".."ctr2" and are listed at the end when DEBUG_DEV is set.
include/types/activity.h
src/cli.c