]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: threads/debug: only report lock stats for used operations
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Oct 2020 06:04:23 +0000 (08:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Oct 2020 15:32:28 +0000 (17:32 +0200)
commitde785f04e11218cee7ff0d3e30fbcfc6da91ce87
tree7900df309ac292747a48e8e6f822f61a0e780cb4
parent23d3b00bdd389effb4cdf77de432ad769359bd2c
MINOR: threads/debug: only report lock stats for used operations

In addition to the previous simplification, most locks don't use the
seek or read lock (e.g. spinlocks etc) so let's split the dump into
distinct operations (write/seek/read) and only report those which
were used. Now the output size is roughly divided by 5 compared
to previous ones.
include/haproxy/thread.h