File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -394,8 +394,10 @@ Defining `DEBUG_LOCKCONTENTION` adds a "lock" logging category to the logging
394394RPC that, when enabled, logs the location and duration of each lock contention
395395to the ` debug.log ` file.
396396
397- To enable it, run configure with ` -DDEBUG_LOCKCONTENTION ` added to your
398- CPPFLAGS, e.g. ` CPPFLAGS="-DDEBUG_LOCKCONTENTION" ` , then build and run bitcoind.
397+ The ` --enable-debug ` configure option adds ` -DDEBUG_LOCKCONTENTION ` to the
398+ compiler flags. You may also enable it manually for a non-debug build by running
399+ configure with ` -DDEBUG_LOCKCONTENTION ` added to your CPPFLAGS,
400+ i.e. ` CPPFLAGS="-DDEBUG_LOCKCONTENTION" ` , then build and run bitcoind.
399401
400402You can then use the ` -debug=lock ` configuration option at bitcoind startup or
401403` bitcoin-cli logging '["lock"]' ` at runtime to turn on lock contention logging.
You can’t perform that action at this time.
0 commit comments