MINOR: stats/debug: maintain a counter of debug commands issued
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2019 16:18:02 +0000 (18:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2019 16:38:00 +0000 (18:38 +0200)
commit9b013701f11982b8b644eddb91e5270ed0bb9b51
tree31e1e35e701caad006168282bbc93523238b8fe5
parentb24ab22ac07c570852f55f6a1a408024ca075866
MINOR: stats/debug: maintain a counter of debug commands issued

Debug commands will usually mark the fate of the process. We'd rather
have them counted and visible in a core or in stats output than trying
to guess how a flag combination could happen. The counter is only
incremented when the command is about to be issued however, so that
failed attempts are ignored.
include/common/debug.h
include/types/stats.h
src/debug.c
src/stats.c