server-skynet-source-3rd-je.../include/jemalloc/internal
Yinan Zhang 0b462407ae Refactor profiling
Refactored core profiling codebase into two logical parts:

(a) `prof_data.c`: core internal data structure managing & dumping;
(b) `prof.c`: mutexes & outward-facing APIs.

Some internal functions had to be exposed out, but there are not
that many of them if the modularization is (hopefully) clean enough.
2019-07-29 13:55:00 -07:00
..
arena_externs.h Safety checks: Add a redzoning feature. 2019-04-15 16:48:12 -07:00
arena_inlines_a.h Control idump and gdump with prof_active. 2018-04-09 16:35:14 -07:00
arena_inlines_b.h Refactor arena_dalloc() / _sdalloc(). 2019-07-24 18:30:54 -07:00
arena_stats.h Track the leaked VM space via the abandoned_vm counter. 2019-07-24 11:24:22 -07:00
arena_structs_a.h Header refactoring: bitmap - unify and remove from catchall. 2017-04-24 10:33:21 -07:00
arena_structs_b.h Remove prof_accumbytes in arena 2019-07-16 15:18:52 -07:00
arena_types.h Disable muzzy decay by default. 2019-02-04 14:38:54 -08:00
assert.h Disentangle assert and util 2017-03-06 15:08:43 -08:00
atomic_c11.h Introduce a backport of C11 atomics 2017-03-03 13:40:59 -08:00
atomic_gcc_atomic.h Insert not_reached after an exhaustive switch 2017-03-06 15:08:43 -08:00
atomic_gcc_sync.h Restrict lwsync to powerpc64 only 2018-10-24 11:18:55 -07:00
atomic_msvc.h Introduce a backport of C11 atomics 2017-03-03 13:40:59 -08:00
atomic.h Detect if 8-bit atomics are available. 2019-03-09 12:52:06 -08:00
background_thread_externs.h Fall back to the default pthread_create if RTLD_NEXT fails. 2018-06-28 13:18:21 -07:00
background_thread_inlines.h Fix background thread index issues with max_background_threads. 2018-05-15 12:25:23 -07:00
background_thread_structs.h Set the default number of background threads to 4. 2018-11-16 09:35:12 -08:00
base_externs.h Add stats for metadata_thp. 2017-08-30 16:47:32 -07:00
base_inlines.h Change opt.metadata_thp to [disabled,auto,always]. 2017-08-30 16:47:32 -07:00
base_structs.h Hide size class computation behind a layer of indirection. 2018-07-12 20:53:06 -07:00
base_types.h metadata_thp: auto mode adjustment for a0. 2017-11-01 13:52:06 -07:00
bin_stats.h Add nonfull_slabs to bin_stats_t. 2019-04-29 13:35:02 -07:00
bin_types.h Store the bin shard selection in TSD. 2018-12-03 17:17:03 -08:00
bin.h Add nonfull_slabs to bin_stats_t. 2019-04-29 13:35:02 -07:00
bit_util.h Add a fastpath for arena_slab_reg_alloc_batch 2018-11-14 07:09:11 -08:00
bitmap.h Hide size class computation behind a layer of indirection. 2018-07-12 20:53:06 -07:00
cache_bin.h refactor tcache_dalloc_small 2018-11-12 13:20:37 -08:00
ckh.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
ctl.h Track nfills and nflushes for arenas.i.small / large. 2019-05-15 10:05:09 -07:00
div.h Add the div module, which allows fast division by dynamic values. 2017-12-21 14:25:43 -08:00
emitter.h Add an autoconf feature test for format_arg and a jemalloc-specific 2019-04-15 15:14:46 -07:00
extent_dss.h Header refactoring: unify and de-catchall extent_dss. 2017-05-31 13:08:45 -07:00
extent_externs.h Fix incorrect macro use. 2019-04-15 15:14:46 -07:00
extent_inlines.h Implement retain on Windows. 2019-07-23 22:18:55 -07:00
extent_mmap.h Header refactoring: unify and de-catchall extent_mmap module. 2017-05-31 13:08:45 -07:00
extent_structs.h Implement retain on Windows. 2019-07-23 22:18:55 -07:00
extent_types.h Implement retain on Windows. 2019-07-23 22:18:55 -07:00
hash.h Clean compilation -Wextra 2018-07-09 21:40:42 -07:00
hook.h Hooks: Protect against reentrancy. 2018-05-18 11:43:03 -07:00
jemalloc_internal_decls.h Make use of pthread_set_name_np(3) on FreeBSD. 2018-10-24 10:06:37 -07:00
jemalloc_internal_defs.h.in Move extra size checks behind a config flag. 2019-04-15 16:48:12 -07:00
jemalloc_internal_externs.h Add confirm_conf option 2019-05-22 09:38:39 -07:00
jemalloc_internal_includes.h Header refactoring: unify and de-catchall mutex_pool. 2017-05-31 13:08:45 -07:00
jemalloc_internal_inlines_a.h implement malloc_getcpu for windows 2019-01-08 14:34:45 -08:00
jemalloc_internal_inlines_b.h Refactor arena_is_auto. 2018-06-29 10:35:02 -07:00
jemalloc_internal_inlines_c.h drop bump_empty_alloc option. Size class lookup support used instead. 2018-10-17 08:50:58 -07:00
jemalloc_internal_macros.h Do not use #pragma GCC diagnostic with gcc < 4.6. 2019-03-09 12:10:30 -08:00
jemalloc_internal_types.h Move quantum detection into its own file. 2018-07-12 20:53:06 -07:00
jemalloc_preamble.h.in Safety checks: Add a redzoning feature. 2019-04-15 16:48:12 -07:00
large_externs.h Add logging for sampled allocations 2018-08-01 13:27:11 -07:00
log.h Logging: capitalize log macro. 2017-10-02 20:44:43 -07:00
malloc_io.h Fix logic in printing 2019-07-16 14:54:23 -07:00
mutex_pool.h Header refactoring: unify and de-catchall mutex_pool. 2017-05-31 13:08:45 -07:00
mutex_prof.h Add rate counters to stats 2018-12-18 09:59:41 -08:00
mutex.h Add support for sharded bins within an arena. 2018-12-03 17:17:03 -08:00
nstime.h Add background thread related stats. 2017-05-23 12:26:20 -07:00
pages.h Add opt.thp which allows explicit hugepage usage. 2018-03-08 13:08:06 -08:00
ph.h Add any() and remove_any() to ph. 2017-03-07 10:25:33 -08:00
private_namespace.sh Automatically generate private symbol name mangling macros. 2017-05-11 23:06:54 -07:00
private_symbols.sh Automatically generate private symbol name mangling macros. 2017-05-11 23:06:54 -07:00
prng.h Header refactoring: prng module - remove from the catchall and unify. 2017-04-24 10:33:21 -07:00
prof_externs.h Refactor profiling 2019-07-29 13:55:00 -07:00
prof_inlines_a.h SC: Make some key size classes static. 2018-07-12 20:53:06 -07:00
prof_inlines_b.h Safety checks: Add a redzoning feature. 2019-04-15 16:48:12 -07:00
prof_structs.h move bytes until sample to tsd. Fastpath allocation does not need 2018-10-15 08:24:12 -07:00
prof_types.h Convert arena->prof_accumbytes synchronization to atomics. 2017-02-16 09:39:46 -08:00
public_namespace.sh Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
public_unnamespace.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
ql.h Header refactoring: break out qr.h dependencies 2017-04-11 11:52:30 -07:00
qr.h Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
quantum.h Move quantum detection into its own file. 2018-07-12 20:53:06 -07:00
rb.h Header refactoring: break out rb.h dependencies 2017-04-11 11:52:30 -07:00
rtree_tsd.h Clean compilation -Wextra 2018-07-09 21:40:42 -07:00
rtree.h rtree: add rtree_szind_slab_read_fast 2018-11-12 13:20:37 -08:00
safety_check.h Fix redzone setting and checking 2019-07-11 20:51:29 -07:00
sc.h Improve size class header 2019-04-24 10:45:12 -07:00
seq.h Add the Seq module, a simple seqlock implementation. 2018-05-18 11:43:03 -07:00
smoothstep.h Cleanup smoothstep.sh / .h. 2017-05-25 16:52:10 -07:00
smoothstep.sh Cleanup smoothstep.sh / .h. 2017-05-25 16:52:10 -07:00
spin.h Power: disable the CPU_SPINWAIT macro. 2017-10-04 18:37:23 -07:00
stats.h Add extents information to mallocstats output 2018-08-02 10:16:06 -07:00
sz.h sz: Support 0 size in size2index lookup/compute 2018-10-17 08:50:58 -07:00
tcache_externs.h Hide size class computation behind a layer of indirection. 2018-07-12 20:53:06 -07:00
tcache_inlines.h Fix tcache_flush (follow up cd2931a). 2018-11-13 08:54:09 -08:00
tcache_structs.h Avoid redefining tsd_t. 2019-02-20 20:27:55 -08:00
tcache_types.h Fix tcache_flush (follow up cd2931a). 2018-11-13 08:54:09 -08:00
test_hooks.h Rename hooks module to test_hooks. 2018-05-18 11:43:03 -07:00
ticker.h ticker: add ticker_trytick 2018-10-18 08:32:19 -07:00
tsd_generic.h Clean compilation -Wextra 2018-07-09 21:40:42 -07:00
tsd_malloc_thread_cleanup.h Enforce TLS_MODEL attribute. 2019-04-16 11:07:15 -07:00
tsd_tls.h Enforce TLS_MODEL attribute. 2019-04-16 11:07:15 -07:00
tsd_types.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd_win.h Header refactoring: tsd - cleanup and dependency breaking. 2017-05-01 10:49:56 -07:00
tsd.h Fallback to 32-bit when 8-bit atomics are missing for TSD. 2019-03-09 12:52:06 -08:00
util.h Remove --disable-cc-silence. 2017-04-24 15:02:45 -07:00
witness.h Add logging for sampled allocations 2018-08-01 13:27:11 -07:00