diff options
author | Jon Atack <jon@atack.com> | 2022-04-01 12:23:01 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-04-05 12:49:48 +0200 |
commit | 39a34b6877945908759f6a2322f60852e521e2ee (patch) | |
tree | 7a170824a35af9d86470499730f2568f1873388b /src/logging.h | |
parent | 7ab9fc32d6a88d0c9a008d6e63ddc7460e5ea0c5 (diff) |
Put lock logging behind DEBUG_LOCKCONTENTION preprocessor directive
Diffstat (limited to 'src/logging.h')
-rw-r--r-- | src/logging.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logging.h b/src/logging.h index 710e6c4c32..ae8cad906c 100644 --- a/src/logging.h +++ b/src/logging.h @@ -60,7 +60,9 @@ namespace BCLog { VALIDATION = (1 << 21), I2P = (1 << 22), IPC = (1 << 23), +#ifdef DEBUG_LOCKCONTENTION LOCK = (1 << 24), +#endif UTIL = (1 << 25), BLOCKSTORE = (1 << 26), ALL = ~(uint32_t)0, |