Home
last modified time | relevance | path

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

/external/jemalloc/src/
Dprof.c201 cassert(config_prof); in rb_gen()
262 cassert(config_prof); in bt_init()
272 cassert(config_prof); in prof_enter()
287 cassert(config_prof); in prof_leave()
315 cassert(config_prof); in prof_backtrace()
329 cassert(config_prof); in prof_unwind_init_callback()
340 cassert(config_prof); in prof_unwind_callback()
358 cassert(config_prof); in prof_backtrace()
379 cassert(config_prof); in prof_backtrace()
528 cassert(config_prof); in prof_backtrace()
[all …]
Djemalloc.c1159 if (config_prof) {
1228 if (config_prof)
1245 if (config_prof)
1395 if (config_prof && prof_boot2()) {
1470 if (config_stats || (config_prof && opt_prof) || (slow_path &&
1476 if (config_prof && opt_prof)
1494 assert(usize == isalloc(ret, config_prof));
1606 if (config_prof && opt_prof)
1618 assert(usize == isalloc(result, config_prof));
1640 config_prof), false);
[all …]
Dzone.c59 return (ivsalloc(ptr, config_prof)); in zone_size()
90 if (ivsalloc(ptr, config_prof) != 0) { in zone_free()
102 if (ivsalloc(ptr, config_prof) != 0) in zone_realloc()
126 alloc_size = ivsalloc(ptr, config_prof); in zone_free_definite_size()
Dtcache.c78 arena_tcache_fill_small(tsd, arena, tbin, binind, config_prof ? in tcache_alloc_small_hard()
80 if (config_prof) in tcache_alloc_small_hard()
108 if (config_prof && bin_arena == arena) { in tcache_bin_flush_small()
189 if (config_prof) in tcache_bin_flush_large()
192 if ((config_prof || config_stats) && locked_arena == arena) { in tcache_bin_flush_large()
193 if (config_prof) { in tcache_bin_flush_large()
228 if (config_prof && idump) in tcache_bin_flush_large()
387 if (config_prof && tcache->prof_accumbytes > 0 && in tcache_destroy()
Dctl.c82 CTL_PROTO(config_prof)
253 {NAME("prof"), CTL(config_prof)},
1258 CTL_RO_CONFIG_GEN(config_prof, bool) in CTL_RO_CONFIG_GEN()
1286 CTL_RO_NL_CGEN(config_prof, opt_prof, opt_prof, bool) in CTL_RO_CONFIG_GEN()
1287 CTL_RO_NL_CGEN(config_prof, opt_prof_prefix, opt_prof_prefix, const char *) in CTL_RO_CONFIG_GEN()
1288 CTL_RO_NL_CGEN(config_prof, opt_prof_active, opt_prof_active, bool) in CTL_RO_CONFIG_GEN()
1289 CTL_RO_NL_CGEN(config_prof, opt_prof_thread_active_init, in CTL_RO_CONFIG_GEN()
1291 CTL_RO_NL_CGEN(config_prof, opt_lg_prof_sample, opt_lg_prof_sample, size_t) in CTL_RO_CONFIG_GEN()
1292 CTL_RO_NL_CGEN(config_prof, opt_prof_accum, opt_prof_accum, bool) in CTL_RO_CONFIG_GEN()
1293 CTL_RO_NL_CGEN(config_prof, opt_lg_prof_interval, opt_lg_prof_interval, ssize_t) in CTL_RO_CONFIG_GEN()
[all …]
Dquarantine.c102 assert(obj->usize == isalloc(obj->ptr, config_prof)); in quarantine_drain_one()
122 size_t usize = isalloc(ptr, config_prof); in quarantine()
Dchunk.c149 if (config_prof && opt_prof) { in chunk_register()
175 if (config_prof && opt_prof) { in chunk_deregister()
Darena.c2214 if (config_prof && arena_prof_accum(arena, prof_accumbytes)) in arena_tcache_fill_small()
2393 if (config_prof && !isthreaded && arena_prof_accum(arena, usize)) in arena_malloc_small()
2461 if (config_prof) in arena_malloc_large()
2464 if (config_prof && idump) in arena_malloc_large()
2626 cassert(config_prof); in arena_prof_promoted()
3025 isalloc(ptr, config_prof) - oldsize); in arena_ralloc_large()
3028 isalloc(ptr, config_prof) - oldsize); in arena_ralloc_large()
3357 if (config_prof) in arena_new()
/external/jemalloc/include/jemalloc/internal/
Dprof.h380 cassert(config_prof); in prof_tdata_get()
403 cassert(config_prof); in prof_tctx_get()
413 cassert(config_prof); in prof_tctx_set()
424 cassert(config_prof); in prof_tctx_reset()
436 cassert(config_prof); in prof_sample_accum_update()
485 cassert(config_prof); in prof_malloc()
502 cassert(config_prof); in prof_realloc()
536 cassert(config_prof); in prof_free()
Dtcache.h323 if (config_prof || (slow_path && config_fill) || unlikely(zero)) { in tcache_alloc_small()
346 if (config_prof) in tcache_alloc_small()
380 if (config_prof || (slow_path && config_fill) || in tcache_alloc_large()
386 if (config_prof && usize == LARGE_MINCLASS) { in tcache_alloc_large()
406 if (config_prof) in tcache_alloc_large()
Darena.h990 cassert(config_prof); in arena_prof_accum_impl()
1005 cassert(config_prof); in arena_prof_accum_locked()
1016 cassert(config_prof); in arena_prof_accum()
1167 cassert(config_prof); in arena_prof_tctx_get()
1193 cassert(config_prof); in arena_prof_tctx_set()
1228 cassert(config_prof); in arena_prof_tctx_reset()
1324 if (unlikely(binind == BININD_INVALID || (config_prof && !demote in arena_salloc()
1421 if (config_prof && opt_prof) { in arena_sdalloc()
Djemalloc_internal.h53 static const bool config_prof = variable
922 assert(config_prof || !demote); in isalloc()
938 config_prof)); in iallocztm()
986 config_prof)); in ipallocztm()
1053 config_prof)); in idalloctm()
Djemalloc_internal.h.in53 static const bool config_prof = variable
914 * size_t sz = isalloc(ptr, config_prof);
921 /* Demotion only makes sense if config_prof is true. */
922 assert(config_prof || !demote);
938 config_prof));
986 config_prof));
1053 config_prof));
Dextent.h206 if (config_prof) in extent_node_init()
/external/jemalloc/test/unit/
Dprof_reset.c54 test_skip_if(!config_prof); in TEST_BEGIN()
111 test_skip_if(!config_prof); in TEST_BEGIN()
203 test_skip_if(!config_prof); in TEST_BEGIN()
246 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_thread_name.c42 test_skip_if(!config_prof); in TEST_BEGIN()
109 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.c99 test_skip_if(!config_prof); in TEST_BEGIN()