mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-22 19:02:13 +03:00
Added lock profiling and output for global locks (ctl, prof and base).
This commit is contained in:
parent
0fb5c0e853
commit
ca9074deff
9 changed files with 173 additions and 77 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue