Home
last modified time | relevance | path

Searched refs:config_prof (Results 1 – 20 of 20) sorted by relevance

/external/jemalloc/include/jemalloc/internal/
Dprof.h381 cassert(config_prof); in prof_tdata_get()
404 cassert(config_prof); in prof_tctx_get()
414 cassert(config_prof); in prof_tctx_set()
425 cassert(config_prof); in prof_tctx_reset()
437 cassert(config_prof); in prof_sample_accum_update()
486 cassert(config_prof); in prof_malloc()
503 cassert(config_prof); in prof_realloc()
538 cassert(config_prof); in prof_free()
Dtcache.h324 if (config_prof || (slow_path && config_fill) || unlikely(zero)) { in tcache_alloc_small()
347 if (config_prof) in tcache_alloc_small()
381 if (config_prof || (slow_path && config_fill) || in tcache_alloc_large()
387 if (config_prof && usize == LARGE_MINCLASS) { in tcache_alloc_large()
408 if (config_prof) in tcache_alloc_large()
Darena.h1058 cassert(config_prof); in arena_prof_accum_impl()
1073 cassert(config_prof); in arena_prof_accum_locked()
1084 cassert(config_prof); in arena_prof_accum()
1235 cassert(config_prof); in arena_prof_tctx_get()
1262 cassert(config_prof); in arena_prof_tctx_set()
1297 cassert(config_prof); in arena_prof_tctx_reset()
1396 if (unlikely(binind == BININD_INVALID || (config_prof && !demote in arena_salloc()
1499 if (config_prof && opt_prof) { in arena_sdalloc()
Djemalloc_internal.h53 static const bool config_prof = variable
1046 assert(config_prof || !demote); in isalloc()
1064 isalloc(tsdn, ret, config_prof)); in iallocztm()
1092 config_prof)); in ipallocztm()
1161 config_prof)); in idalloctm()
Djemalloc_internal.h.in53 static const bool config_prof = variable
1038 * size_t sz = isalloc(tsdn, ptr, config_prof);
1045 /* Demotion only makes sense if config_prof is true. */
1046 assert(config_prof || !demote);
1064 isalloc(tsdn, ret, config_prof));
1092 config_prof));
1161 config_prof));
Dextent.h237 if (config_prof) in extent_node_init()
/external/jemalloc/src/
Dprof.c201 cassert(config_prof); in rb_gen()
263 cassert(config_prof); in bt_init()
273 cassert(config_prof); in prof_enter()
288 cassert(config_prof); in prof_leave()
316 cassert(config_prof); in prof_backtrace()
330 cassert(config_prof); in prof_unwind_init_callback()
341 cassert(config_prof); in prof_unwind_callback()
359 cassert(config_prof); in prof_backtrace()
380 cassert(config_prof); in prof_backtrace()
529 cassert(config_prof); in prof_backtrace()
[all …]
Dtcache.c82 arena_tcache_fill_small(tsdn, arena, tbin, binind, config_prof ? in tcache_alloc_small_hard()
84 if (config_prof) in tcache_alloc_small_hard()
112 if (config_prof && bin_arena == arena) { in tcache_bin_flush_small()
194 if (config_prof) in tcache_bin_flush_large()
197 if ((config_prof || config_stats) && locked_arena == arena) { in tcache_bin_flush_large()
198 if (config_prof) { in tcache_bin_flush_large()
233 if (config_prof && idump) in tcache_bin_flush_large()
394 if (config_prof && tcache->prof_accumbytes > 0 && in tcache_destroy()
602 if (!config_prof && opt_tcache) { in tcache_prefork()
609 if (!config_prof && opt_tcache) { in tcache_postfork_parent()
[all …]
Djemalloc.c1276 if (config_prof) {
1353 if (config_prof)
1371 if (config_prof)
1513 if (config_prof && prof_boot2(tsd)) {
1602 if (config_stats || (config_prof && opt_prof) || (slow_path &&
1608 if (config_prof && opt_prof)
1631 assert(usize == isalloc(tsdn, ret, config_prof));
1742 if (config_prof && opt_prof)
1754 assert(usize == isalloc(tsd_tsdn(tsd), result, config_prof));
1893 if (config_prof && opt_prof) {
[all …]
Dzone.c60 return (ivsalloc(tsdn_fetch(), ptr, config_prof)); in zone_size()
91 if (ivsalloc(tsdn_fetch(), ptr, config_prof) != 0) { in zone_free()
103 if (ivsalloc(tsdn_fetch(), ptr, config_prof) != 0) in zone_realloc()
127 alloc_size = ivsalloc(tsdn_fetch(), ptr, config_prof); in zone_free_definite_size()
Dctl.c82 CTL_PROTO(config_prof)
256 {NAME("prof"), CTL(config_prof)},
1266 CTL_RO_CONFIG_GEN(config_prof, bool) in CTL_RO_CONFIG_GEN()
1294 CTL_RO_NL_CGEN(config_prof, opt_prof, opt_prof, bool) in CTL_RO_CONFIG_GEN()
1295 CTL_RO_NL_CGEN(config_prof, opt_prof_prefix, opt_prof_prefix, const char *) in CTL_RO_CONFIG_GEN()
1296 CTL_RO_NL_CGEN(config_prof, opt_prof_active, opt_prof_active, bool) in CTL_RO_CONFIG_GEN()
1297 CTL_RO_NL_CGEN(config_prof, opt_prof_thread_active_init, in CTL_RO_CONFIG_GEN()
1299 CTL_RO_NL_CGEN(config_prof, opt_lg_prof_sample, opt_lg_prof_sample, size_t) in CTL_RO_CONFIG_GEN()
1300 CTL_RO_NL_CGEN(config_prof, opt_prof_accum, opt_prof_accum, bool) in CTL_RO_CONFIG_GEN()
1301 CTL_RO_NL_CGEN(config_prof, opt_lg_prof_interval, opt_lg_prof_interval, ssize_t) in CTL_RO_CONFIG_GEN()
[all …]
Dquarantine.c100 assert(obj->usize == isalloc(tsdn, obj->ptr, config_prof)); in quarantine_drain_one()
120 size_t usize = isalloc(tsd_tsdn(tsd), ptr, config_prof); in quarantine()
Darena.c1867 cassert(config_prof); in arena_achunk_prof_reset()
1880 config_prof); in arena_achunk_prof_reset()
1923 if (config_prof && opt_prof) { in arena_reset()
1944 if (config_stats || (config_prof && opt_prof)) in arena_reset()
1945 usize = isalloc(tsd_tsdn(tsd), ptr, config_prof); in arena_reset()
1947 if (config_prof && opt_prof) in arena_reset()
2413 if (config_prof && arena_prof_accum(tsdn, arena, prof_accumbytes)) in arena_tcache_fill_small()
2593 if (config_prof && !isthreaded && arena_prof_accum(tsdn, arena, usize)) in arena_malloc_small()
2662 if (config_prof) in arena_malloc_large()
2665 if (config_prof && idump) in arena_malloc_large()
[all …]
Dchunk.c151 if (config_prof && opt_prof) { in chunk_register()
177 if (config_prof && opt_prof) { in chunk_deregister()
/external/jemalloc/test/unit/
Dprof_reset.c55 test_skip_if(!config_prof); in TEST_BEGIN()
113 test_skip_if(!config_prof); in TEST_BEGIN()
205 test_skip_if(!config_prof); in TEST_BEGIN()
248 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_thread_name.c43 test_skip_if(!config_prof); in TEST_BEGIN()
111 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_idump.c29 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_gdump.c28 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_accum.c68 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_active.c100 test_skip_if(!config_prof); in TEST_BEGIN()