602c8e0971
Rename data structures (prof_thr_cnt_t-->prof_tctx_t, prof_ctx_t-->prof_gctx_t), and convert to storing a prof_tctx_t for sampled objects. Convert PROF_ALLOC_PREP() to prof_alloc_prep(), since precise backtrace depth within jemalloc functions is no longer an issue (pprof prunes irrelevant frames). Implement mallctl's: - prof.reset implements full sample data reset, and optional change of sample interval. - prof.lg_sample reads the current sample interval (opt.lg_prof_sample was the permanent source of truth prior to prof.reset). - thread.prof.name provides naming capability for threads within heap profile dumps. - thread.prof.active makes it possible to activate/deactivate heap profiling for individual threads. Modify the heap dump files to contain per thread heap profile data. This change is incompatible with the existing pprof, which will require enhancements to read and process the enriched data. |
||
---|---|---|
.. | ||
arena.h | ||
atomic.h | ||
base.h | ||
bitmap.h | ||
chunk_dss.h | ||
chunk_mmap.h | ||
chunk.h | ||
ckh.h | ||
ctl.h | ||
extent.h | ||
hash.h | ||
huge.h | ||
jemalloc_internal_decls.h | ||
jemalloc_internal_defs.h.in | ||
jemalloc_internal_macros.h | ||
jemalloc_internal.h.in | ||
mb.h | ||
mutex.h | ||
private_namespace.sh | ||
private_symbols.txt | ||
private_unnamespace.sh | ||
prng.h | ||
prof.h | ||
public_namespace.sh | ||
public_unnamespace.sh | ||
ql.h | ||
qr.h | ||
quarantine.h | ||
rb.h | ||
rtree.h | ||
size_classes.sh | ||
stats.h | ||
tcache.h | ||
tsd.h | ||
util.h | ||
valgrind.h |