when MUTEX_PROFILING is enabled turn on LOCK_DEBUG; otherwise all the mutex's
get dumped into a single bucket with line #0 and file NULL Supported by: FreeBSD Foundation
This commit is contained in:
parent
105729ef61
commit
6840ea324a
@ -127,7 +127,7 @@ struct lock_list_entry {
|
||||
* calling conventions for this debugging code in modules so that modules can
|
||||
* work with both debug and non-debug kernels.
|
||||
*/
|
||||
#if defined(KLD_MODULE) || defined(WITNESS) || defined(INVARIANTS) || defined(INVARIANT_SUPPORT) || defined(KTR)
|
||||
#if defined(KLD_MODULE) || defined(WITNESS) || defined(INVARIANTS) || defined(INVARIANT_SUPPORT) || defined(KTR) || defined(MUTEX_PROFILING)
|
||||
#define LOCK_DEBUG 1
|
||||
#else
|
||||
#define LOCK_DEBUG 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user