server-skynet-source-3rd-je.../include/jemalloc
Jason Evans 602c8e0971 Implement per thread heap profiling.
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.
2014-08-19 21:31:16 -07:00
..
internal Implement per thread heap profiling. 2014-08-19 21:31:16 -07:00
jemalloc_defs.h.in Remove the *allocm() API, which is superceded by the *allocx() API. 2014-04-14 22:32:31 -07:00
jemalloc_macros.h.in Remove the *allocm() API, which is superceded by the *allocx() API. 2014-04-14 22:32:31 -07:00
jemalloc_mangle.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_protos.h.in Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00