4581b97809
There are three categories of metadata: - Base allocations are used for bootstrap-sensitive internal allocator data structures. - Arena chunk headers comprise pages which track the states of the non-metadata pages. - Internal allocations differ from application-originated allocations in that they are for internal use, and that they are omitted from heap profiles. The metadata statistics comprise the metadata categories as follows: - stats.metadata: All metadata -- base + arena chunk headers + internal allocations. - stats.arenas.<i>.metadata.mapped: Arena chunk headers. - stats.arenas.<i>.metadata.allocated: Internal allocations. This is reported separately from the other metadata statistics because it overlaps with the allocated and active statistics, whereas the other metadata statistics do not. Base allocations are not reported separately, though their magnitude can be computed by subtracting the arena-specific metadata. This resolves #163.
450 lines
7.5 KiB
Plaintext
450 lines
7.5 KiB
Plaintext
a0dalloc
|
|
a0get
|
|
a0malloc
|
|
arena_aalloc
|
|
arena_get
|
|
arena_get_hard
|
|
arena_alloc_junk_small
|
|
arena_bin_index
|
|
arena_bin_info
|
|
arena_bitselm_get
|
|
arena_boot
|
|
arena_choose
|
|
arena_choose_hard
|
|
arena_chunk_alloc_huge
|
|
arena_chunk_dalloc_huge
|
|
arena_chunk_ralloc_huge_expand
|
|
arena_chunk_ralloc_huge_shrink
|
|
arena_chunk_ralloc_huge_similar
|
|
arena_cleanup
|
|
arena_dalloc
|
|
arena_dalloc_bin
|
|
arena_dalloc_bin_junked_locked
|
|
arena_dalloc_junk_large
|
|
arena_dalloc_junk_small
|
|
arena_dalloc_large
|
|
arena_dalloc_large_junked_locked
|
|
arena_dalloc_small
|
|
arena_dss_prec_get
|
|
arena_dss_prec_set
|
|
arena_init
|
|
arena_malloc
|
|
arena_malloc_large
|
|
arena_malloc_small
|
|
arena_mapbits_allocated_get
|
|
arena_mapbits_binind_get
|
|
arena_mapbits_dirty_get
|
|
arena_mapbits_get
|
|
arena_mapbits_large_binind_set
|
|
arena_mapbits_large_get
|
|
arena_mapbits_large_set
|
|
arena_mapbits_large_size_get
|
|
arena_mapbits_small_runind_get
|
|
arena_mapbits_small_set
|
|
arena_mapbits_unallocated_set
|
|
arena_mapbits_unallocated_size_get
|
|
arena_mapbits_unallocated_size_set
|
|
arena_mapbits_unzeroed_get
|
|
arena_mapbits_unzeroed_set
|
|
arena_mapbitsp_get
|
|
arena_mapbitsp_read
|
|
arena_mapbitsp_write
|
|
arena_maxclass
|
|
arena_maxrun
|
|
arena_metadata_allocated_add
|
|
arena_metadata_allocated_get
|
|
arena_metadata_allocated_sub
|
|
arena_migrate
|
|
arena_miscelm_get
|
|
arena_miscelm_to_pageind
|
|
arena_miscelm_to_rpages
|
|
arena_nbound
|
|
arena_new
|
|
arena_palloc
|
|
arena_postfork_child
|
|
arena_postfork_parent
|
|
arena_prefork
|
|
arena_prof_accum
|
|
arena_prof_accum_impl
|
|
arena_prof_accum_locked
|
|
arena_prof_promoted
|
|
arena_prof_tctx_get
|
|
arena_prof_tctx_set
|
|
arena_ptr_small_binind_get
|
|
arena_purge_all
|
|
arena_quarantine_junk_small
|
|
arena_ralloc
|
|
arena_ralloc_junk_large
|
|
arena_ralloc_no_move
|
|
arena_redzone_corruption
|
|
arena_run_regind
|
|
arena_run_to_miscelm
|
|
arena_salloc
|
|
arena_sdalloc
|
|
arena_stats_merge
|
|
arena_tcache_fill_small
|
|
arenas_cache_bypass_cleanup
|
|
arenas_cache_cleanup
|
|
atomic_add_u
|
|
atomic_add_uint32
|
|
atomic_add_uint64
|
|
atomic_add_z
|
|
atomic_sub_u
|
|
atomic_sub_uint32
|
|
atomic_sub_uint64
|
|
atomic_sub_z
|
|
base_alloc
|
|
base_allocated_get
|
|
base_boot
|
|
base_calloc
|
|
base_node_alloc
|
|
base_node_dalloc
|
|
base_postfork_child
|
|
base_postfork_parent
|
|
base_prefork
|
|
bitmap_full
|
|
bitmap_get
|
|
bitmap_info_init
|
|
bitmap_info_ngroups
|
|
bitmap_init
|
|
bitmap_set
|
|
bitmap_sfu
|
|
bitmap_size
|
|
bitmap_unset
|
|
bootstrap_calloc
|
|
bootstrap_free
|
|
bootstrap_malloc
|
|
bt_init
|
|
buferror
|
|
chunk_alloc_arena
|
|
chunk_alloc_base
|
|
chunk_alloc_default
|
|
chunk_alloc_dss
|
|
chunk_alloc_mmap
|
|
chunk_boot
|
|
chunk_dalloc_default
|
|
chunk_dalloc_mmap
|
|
chunk_dss_boot
|
|
chunk_dss_postfork_child
|
|
chunk_dss_postfork_parent
|
|
chunk_dss_prec_get
|
|
chunk_dss_prec_set
|
|
chunk_dss_prefork
|
|
chunk_in_dss
|
|
chunk_npages
|
|
chunk_postfork_child
|
|
chunk_postfork_parent
|
|
chunk_prefork
|
|
chunk_unmap
|
|
chunks_mtx
|
|
chunks_rtree
|
|
chunksize
|
|
chunksize_mask
|
|
ckh_bucket_search
|
|
ckh_count
|
|
ckh_delete
|
|
ckh_evict_reloc_insert
|
|
ckh_insert
|
|
ckh_isearch
|
|
ckh_iter
|
|
ckh_new
|
|
ckh_pointer_hash
|
|
ckh_pointer_keycomp
|
|
ckh_rebuild
|
|
ckh_remove
|
|
ckh_search
|
|
ckh_string_hash
|
|
ckh_string_keycomp
|
|
ckh_try_bucket_insert
|
|
ckh_try_insert
|
|
ctl_boot
|
|
ctl_bymib
|
|
ctl_byname
|
|
ctl_nametomib
|
|
ctl_postfork_child
|
|
ctl_postfork_parent
|
|
ctl_prefork
|
|
dss_prec_names
|
|
extent_tree_ad_empty
|
|
extent_tree_ad_first
|
|
extent_tree_ad_insert
|
|
extent_tree_ad_iter
|
|
extent_tree_ad_iter_recurse
|
|
extent_tree_ad_iter_start
|
|
extent_tree_ad_last
|
|
extent_tree_ad_new
|
|
extent_tree_ad_next
|
|
extent_tree_ad_nsearch
|
|
extent_tree_ad_prev
|
|
extent_tree_ad_psearch
|
|
extent_tree_ad_remove
|
|
extent_tree_ad_reverse_iter
|
|
extent_tree_ad_reverse_iter_recurse
|
|
extent_tree_ad_reverse_iter_start
|
|
extent_tree_ad_search
|
|
extent_tree_szad_empty
|
|
extent_tree_szad_first
|
|
extent_tree_szad_insert
|
|
extent_tree_szad_iter
|
|
extent_tree_szad_iter_recurse
|
|
extent_tree_szad_iter_start
|
|
extent_tree_szad_last
|
|
extent_tree_szad_new
|
|
extent_tree_szad_next
|
|
extent_tree_szad_nsearch
|
|
extent_tree_szad_prev
|
|
extent_tree_szad_psearch
|
|
extent_tree_szad_remove
|
|
extent_tree_szad_reverse_iter
|
|
extent_tree_szad_reverse_iter_recurse
|
|
extent_tree_szad_reverse_iter_start
|
|
extent_tree_szad_search
|
|
get_errno
|
|
hash
|
|
hash_fmix_32
|
|
hash_fmix_64
|
|
hash_get_block_32
|
|
hash_get_block_64
|
|
hash_rotl_32
|
|
hash_rotl_64
|
|
hash_x64_128
|
|
hash_x86_128
|
|
hash_x86_32
|
|
huge_aalloc
|
|
huge_allocated
|
|
huge_boot
|
|
huge_dalloc
|
|
huge_dalloc_junk
|
|
huge_malloc
|
|
huge_ndalloc
|
|
huge_nmalloc
|
|
huge_palloc
|
|
huge_postfork_child
|
|
huge_postfork_parent
|
|
huge_prefork
|
|
huge_prof_tctx_get
|
|
huge_prof_tctx_set
|
|
huge_ralloc
|
|
huge_ralloc_no_move
|
|
huge_salloc
|
|
iaalloc
|
|
iallocztm
|
|
icalloc
|
|
icalloct
|
|
idalloc
|
|
idalloct
|
|
idalloctm
|
|
imalloc
|
|
imalloct
|
|
in_valgrind
|
|
index2size
|
|
index2size_compute
|
|
index2size_lookup
|
|
index2size_tab
|
|
ipalloc
|
|
ipalloct
|
|
ipallocztm
|
|
iqalloc
|
|
iralloc
|
|
iralloct
|
|
iralloct_realign
|
|
isalloc
|
|
isdalloct
|
|
isthreaded
|
|
isqalloc
|
|
ivsalloc
|
|
ixalloc
|
|
jemalloc_postfork_child
|
|
jemalloc_postfork_parent
|
|
jemalloc_prefork
|
|
lg_floor
|
|
malloc_cprintf
|
|
malloc_mutex_init
|
|
malloc_mutex_lock
|
|
malloc_mutex_postfork_child
|
|
malloc_mutex_postfork_parent
|
|
malloc_mutex_prefork
|
|
malloc_mutex_unlock
|
|
malloc_printf
|
|
malloc_snprintf
|
|
malloc_strtoumax
|
|
malloc_tsd_boot0
|
|
malloc_tsd_boot1
|
|
malloc_tsd_cleanup_register
|
|
malloc_tsd_dalloc
|
|
malloc_tsd_malloc
|
|
malloc_tsd_no_cleanup
|
|
malloc_vcprintf
|
|
malloc_vsnprintf
|
|
malloc_write
|
|
map_bias
|
|
map_misc_offset
|
|
mb_write
|
|
mutex_boot
|
|
narenas_cache_cleanup
|
|
narenas_total_get
|
|
ncpus
|
|
nhbins
|
|
opt_abort
|
|
opt_dss
|
|
opt_junk
|
|
opt_junk_alloc
|
|
opt_junk_free
|
|
opt_lg_chunk
|
|
opt_lg_dirty_mult
|
|
opt_lg_prof_interval
|
|
opt_lg_prof_sample
|
|
opt_lg_tcache_max
|
|
opt_narenas
|
|
opt_prof
|
|
opt_prof_accum
|
|
opt_prof_active
|
|
opt_prof_final
|
|
opt_prof_gdump
|
|
opt_prof_leak
|
|
opt_prof_prefix
|
|
opt_prof_thread_active_init
|
|
opt_quarantine
|
|
opt_redzone
|
|
opt_stats_print
|
|
opt_tcache
|
|
opt_utrace
|
|
opt_xmalloc
|
|
opt_zero
|
|
p2rz
|
|
pages_purge
|
|
pow2_ceil
|
|
prof_active_get
|
|
prof_active_get_unlocked
|
|
prof_active_set
|
|
prof_alloc_prep
|
|
prof_alloc_rollback
|
|
prof_backtrace
|
|
prof_boot0
|
|
prof_boot1
|
|
prof_boot2
|
|
prof_bt_count
|
|
prof_dump_header
|
|
prof_dump_open
|
|
prof_free
|
|
prof_free_sampled_object
|
|
prof_gdump
|
|
prof_idump
|
|
prof_interval
|
|
prof_lookup
|
|
prof_malloc
|
|
prof_malloc_sample_object
|
|
prof_mdump
|
|
prof_postfork_child
|
|
prof_postfork_parent
|
|
prof_prefork
|
|
prof_realloc
|
|
prof_reset
|
|
prof_sample_accum_update
|
|
prof_sample_threshold_update
|
|
prof_tctx_get
|
|
prof_tctx_set
|
|
prof_tdata_cleanup
|
|
prof_tdata_get
|
|
prof_tdata_init
|
|
prof_tdata_reinit
|
|
prof_thread_active_get
|
|
prof_thread_active_init_get
|
|
prof_thread_active_init_set
|
|
prof_thread_active_set
|
|
prof_thread_name_get
|
|
prof_thread_name_set
|
|
quarantine
|
|
quarantine_alloc_hook
|
|
quarantine_alloc_hook_work
|
|
quarantine_cleanup
|
|
register_zone
|
|
rtree_delete
|
|
rtree_get
|
|
rtree_get_locked
|
|
rtree_new
|
|
rtree_postfork_child
|
|
rtree_postfork_parent
|
|
rtree_prefork
|
|
rtree_set
|
|
s2u
|
|
s2u_compute
|
|
s2u_lookup
|
|
sa2u
|
|
set_errno
|
|
size2index
|
|
size2index_compute
|
|
size2index_lookup
|
|
size2index_tab
|
|
stats_cactive
|
|
stats_cactive_add
|
|
stats_cactive_get
|
|
stats_cactive_sub
|
|
stats_chunks
|
|
stats_print
|
|
tcache_alloc_easy
|
|
tcache_alloc_large
|
|
tcache_alloc_small
|
|
tcache_alloc_small_hard
|
|
tcache_arena_associate
|
|
tcache_arena_dissociate
|
|
tcache_arena_reassociate
|
|
tcache_bin_flush_large
|
|
tcache_bin_flush_small
|
|
tcache_bin_info
|
|
tcache_boot
|
|
tcache_cleanup
|
|
tcache_create
|
|
tcache_dalloc_large
|
|
tcache_dalloc_small
|
|
tcache_enabled_cleanup
|
|
tcache_enabled_get
|
|
tcache_enabled_set
|
|
tcache_event
|
|
tcache_event_hard
|
|
tcache_flush
|
|
tcache_get
|
|
tcache_get_hard
|
|
tcache_maxclass
|
|
tcache_salloc
|
|
tcache_stats_merge
|
|
thread_allocated_cleanup
|
|
thread_deallocated_cleanup
|
|
tsd_booted
|
|
tsd_arena_get
|
|
tsd_arena_set
|
|
tsd_boot
|
|
tsd_boot0
|
|
tsd_boot1
|
|
tsd_cleanup
|
|
tsd_cleanup_wrapper
|
|
tsd_fetch
|
|
tsd_get
|
|
tsd_wrapper_get
|
|
tsd_wrapper_set
|
|
tsd_initialized
|
|
tsd_init_check_recursion
|
|
tsd_init_finish
|
|
tsd_init_head
|
|
tsd_nominal
|
|
tsd_quarantine_get
|
|
tsd_quarantine_set
|
|
tsd_set
|
|
tsd_tcache_enabled_get
|
|
tsd_tcache_enabled_set
|
|
tsd_tcache_get
|
|
tsd_tcache_set
|
|
tsd_tls
|
|
tsd_tsd
|
|
tsd_prof_tdata_get
|
|
tsd_prof_tdata_set
|
|
tsd_thread_allocated_get
|
|
tsd_thread_allocated_set
|
|
tsd_thread_deallocated_get
|
|
tsd_thread_deallocated_set
|
|
u2rz
|
|
valgrind_freelike_block
|
|
valgrind_make_mem_defined
|
|
valgrind_make_mem_noaccess
|
|
valgrind_make_mem_undefined
|