Added lock profiling and output for global locks (ctl, prof and base).
This commit is contained in:
+2
-1
@@ -78,7 +78,8 @@ static malloc_mutex_t *tdata_locks;
|
||||
* structure that knows about all backtraces currently captured.
|
||||
*/
|
||||
static ckh_t bt2gctx;
|
||||
static malloc_mutex_t bt2gctx_mtx;
|
||||
/* Non static to enable profiling. */
|
||||
malloc_mutex_t bt2gctx_mtx;
|
||||
|
||||
/*
|
||||
* Tree of all extant prof_tdata_t structures, regardless of state,
|
||||
|
||||
Reference in New Issue
Block a user