diff options
author | Qi Wang <interwq@gwu.edu> | 2017-03-12 04:28:31 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-03-23 07:03:28 (GMT) |
commit | ca9074deffe799dafa74a1d71333a103c4c007ce (patch) | |
tree | 4305be02b5c5f5cdcbea31759953d6c075f4b2c6 /src/prof.c | |
parent | 0fb5c0e853963480196ac413db18d1ad78d87ec9 (diff) | |
download | jemalloc-ca9074deffe799dafa74a1d71333a103c4c007ce.zip jemalloc-ca9074deffe799dafa74a1d71333a103c4c007ce.tar.gz jemalloc-ca9074deffe799dafa74a1d71333a103c4c007ce.tar.bz2 |
Added lock profiling and output for global locks (ctl, prof and base).
Diffstat (limited to 'src/prof.c')
-rw-r--r-- | src/prof.c | 3 |
1 files changed, 2 insertions, 1 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, |