MINOR: threads/debug: only report used lock stats
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Oct 2020 06:00:09 +0000 (08:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Oct 2020 15:32:28 +0000 (17:32 +0200)
commit23d3b00bdd389effb4cdf77de432ad769359bd2c
tree3f989ae5de6da5c9e75a082895682f5d78e5d2f7
parent9a3d3fcb5d980bd1034e04222769452cc68ecc9b
MINOR: threads/debug: only report used lock stats

The lock stats are very verbose and more than half of them are used in
a typical test, making it hard to spot the sought values. Let's simply
report "not used" for those which have not been called at all.
include/haproxy/thread.h