commit | ccea3c54f4b39774ccb48cfd604a22acb8e59c86 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Feb 17 14:33:58 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Feb 18 10:06:45 2021 +0100 |
tree | 3f151c61fd73e26c320f7cc5388fdb1f723322a3 | |
parent | 4e9df2737dde3f6d1d171fa17e2594c4c765c00c [diff] |
DEBUG: thread: add 5 extra lock labels for statistics and debugging Since OTHER_LOCK is commonly used it's become much more difficult to profile lock contention by temporarily changing a lock label. Let's add DEBUG1..5 to serve only for debugging. These ones must not be used in committed code. We could decide to only define them when DEBUG_THREAD is set but that would complicate attempts at measuring performance with debugging turned off.