server-skynet-source-3rd-je.../include/jemalloc/internal
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
..
arena.h Implement per thread heap profiling. 2014-08-19 21:31:16 -07:00
atomic.h Add atomic operations tests and fix latent bugs. 2014-08-06 23:36:19 -07:00
base.h Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
bitmap.h Try to use __builtin_ffsl if ffsl is unavailable. 2014-06-02 07:44:50 -07:00
chunk_dss.h Refactor tests. 2013-12-08 20:52:21 -08:00
chunk_mmap.h Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
chunk.h Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
ckh.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
ctl.h Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
extent.h Implement per thread heap profiling. 2014-08-19 21:31:16 -07:00
hash.h Use KQU() rather than QU() where applicable. 2014-05-28 21:17:42 -07:00
huge.h Implement per thread heap profiling. 2014-08-19 21:31:16 -07:00
jemalloc_internal_decls.h Try to use __builtin_ffsl if ffsl is unavailable. 2014-06-02 07:44:50 -07:00
jemalloc_internal_defs.h.in Add check for madvise(2) to configure.ac. 2014-06-03 09:32:49 -07:00
jemalloc_internal_macros.h Use KQU() rather than QU() where applicable. 2014-05-28 21:17:42 -07:00
jemalloc_internal.h.in Add OpenRISC/or1k LG_QUANTUM size definition 2014-07-29 23:11:26 +01:00
mb.h Simplify small size class infrastructure. 2012-02-28 16:50:47 -08:00
mutex.h Add support for Mingw 2012-04-21 21:27:46 -07:00
private_namespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
private_symbols.txt Implement per thread heap profiling. 2014-08-19 21:31:16 -07:00
private_unnamespace.sh Refactor to support more varied testing. 2013-12-03 22:06:59 -08:00
prng.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
prof.h Implement per thread heap profiling. 2014-08-19 21:31:16 -07:00
public_namespace.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
public_unnamespace.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
ql.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
qr.h Normalize #define whitespace. 2013-12-08 22:28:27 -08:00
quarantine.h Fix potential TLS-related memory corruption. 2013-01-31 14:23:48 -08:00
rb.h Add rb_empty(). 2014-08-19 21:05:54 -07:00
rtree.h Convert rtree from (void *) to (uint8_t) storage. 2014-01-02 17:36:38 -08:00
size_classes.sh Add size class computation capability. 2014-05-28 21:06:46 -07:00
stats.h Refactor huge allocation to be managed by arenas. 2014-05-15 22:36:41 -07:00
tcache.h Refactor small_size2bin and small_bin2size. 2014-04-16 17:14:33 -07:00
tsd.h Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
util.h Try to use __builtin_ffsl if ffsl is unavailable. 2014-06-02 07:44:50 -07:00
valgrind.h Optimize Valgrind integration. 2014-04-15 16:49:57 -07:00