Home
last modified time | relevance | path

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

12

/external/jemalloc_new/include/jemalloc/internal/
Dprof_inlines_b.h20 cassert(config_prof); in prof_tdata_get()
41 cassert(config_prof); in prof_tctx_get()
50 cassert(config_prof); in prof_tctx_set()
58 cassert(config_prof); in prof_tctx_reset()
69 cassert(config_prof); in prof_sample_accum_update()
124 cassert(config_prof); in prof_malloc()
142 cassert(config_prof); in prof_realloc()
198 cassert(config_prof); in prof_free()
Darena_inlines_b.h13 cassert(config_prof); in arena_prof_tctx_get()
33 cassert(config_prof); in arena_prof_tctx_set()
51 cassert(config_prof); in arena_prof_tctx_reset()
228 if (config_prof && unlikely(szind < NBINS)) { in arena_dalloc()
249 if (!config_prof || !opt_prof) { in arena_sdalloc_no_tcache()
258 if ((config_prof && opt_prof) || config_debug) { in arena_sdalloc_no_tcache()
267 assert((config_prof && opt_prof) || slab == (szind < NBINS)); in arena_sdalloc_no_tcache()
301 if (config_prof && opt_prof) { in arena_sdalloc()
340 if (config_prof && unlikely(szind < NBINS)) { in arena_sdalloc()
Dtcache_inlines.h72 if (config_prof || (slow_path && config_fill) || unlikely(zero)) { in tcache_alloc_small()
98 if (config_prof) { in tcache_alloc_small()
134 if (config_prof || (slow_path && config_fill) || in tcache_alloc_large()
158 if (config_prof) { in tcache_alloc_large()
Dprof_inlines_a.h8 cassert(config_prof); in prof_accum_add()
46 cassert(config_prof); in prof_accum_cancel()
Djemalloc_preamble.h90 static const bool config_prof = variable
/external/jemalloc_new/src/
Dprof.c214 cassert(config_prof); in rb_gen()
273 cassert(config_prof); in bt_init()
281 cassert(config_prof); in prof_enter()
294 cassert(config_prof); in prof_leave()
323 cassert(config_prof); in prof_backtrace()
336 cassert(config_prof); in prof_unwind_init_callback()
346 cassert(config_prof); in prof_unwind_callback()
365 cassert(config_prof); in prof_backtrace()
388 cassert(config_prof); in prof_backtrace()
535 cassert(config_prof); in prof_backtrace()
[all …]
Dtcache.c98 config_prof ? tcache->prof_accumbytes : 0); in tcache_alloc_small_hard()
99 if (config_prof) { in tcache_alloc_small_hard()
130 if (config_prof && bin_arena == arena) { in tcache_bin_flush_small()
221 if (config_prof) { in tcache_bin_flush_large()
235 if ((config_prof || config_stats) && locked_arena == arena) { in tcache_bin_flush_large()
236 if (config_prof) { in tcache_bin_flush_large()
273 if (config_prof && idump) { in tcache_bin_flush_large()
496 if (config_prof && tcache->prof_accumbytes > 0 && in tcache_flush_cache()
720 if (!config_prof && opt_tcache) { in tcache_prefork()
727 if (!config_prof && opt_tcache) { in tcache_postfork_parent()
[all …]
Dctl.c75 CTL_PROTO(config_prof)
273 {NAME("prof"), CTL(config_prof)},
976 if (config_prof && opt_prof) { in ctl_refresh()
1645 CTL_RO_CONFIG_GEN(config_prof, bool) in CTL_RO_CONFIG_GEN()
1678 CTL_RO_NL_CGEN(config_prof, opt_prof, opt_prof, bool) in CTL_RO_CONFIG_GEN()
1679 CTL_RO_NL_CGEN(config_prof, opt_prof_prefix, opt_prof_prefix, const char *) in CTL_RO_CONFIG_GEN()
1680 CTL_RO_NL_CGEN(config_prof, opt_prof_active, opt_prof_active, bool) in CTL_RO_CONFIG_GEN()
1681 CTL_RO_NL_CGEN(config_prof, opt_prof_thread_active_init, in CTL_RO_CONFIG_GEN()
1683 CTL_RO_NL_CGEN(config_prof, opt_lg_prof_sample, opt_lg_prof_sample, size_t) in CTL_RO_CONFIG_GEN()
1684 CTL_RO_NL_CGEN(config_prof, opt_prof_accum, opt_prof_accum, bool) in CTL_RO_CONFIG_GEN()
[all …]
Djemalloc.c1184 if (config_prof) {
1285 if (config_prof) {
1310 if (config_prof) {
1554 if (config_prof && prof_boot2(tsd)) {
1852 if (config_stats || (config_prof && opt_prof)) {
1884 if (config_prof && opt_prof) {
2227 if (config_prof && opt_prof) {
2278 } else if (config_prof && opt_prof) {
2288 if (config_prof && opt_prof) {
2345 if (config_prof && opt_prof) {
[all …]
/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()
/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.h1064 cassert(config_prof); in arena_prof_accum_impl()
1079 cassert(config_prof); in arena_prof_accum_locked()
1090 cassert(config_prof); in arena_prof_accum()
1241 cassert(config_prof); in arena_prof_tctx_get()
1268 cassert(config_prof); in arena_prof_tctx_set()
1303 cassert(config_prof); in arena_prof_tctx_reset()
1402 if (unlikely(binind == BININD_INVALID || (config_prof && !demote in arena_salloc()
1505 if (config_prof && opt_prof) { in arena_sdalloc()
/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()
/external/jemalloc_new/test/unit/
Dprof_reset.c44 test_skip_if(!config_prof); in TEST_BEGIN()
99 test_skip_if(!config_prof); in TEST_BEGIN()
189 test_skip_if(!config_prof); in TEST_BEGIN()
232 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_thread_name.c35 test_skip_if(!config_prof); in TEST_BEGIN()
101 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_idump.c21 test_skip_if(!config_prof); in TEST_BEGIN()
Dprof_tctx.c10 test_skip_if(!config_prof); in TEST_BEGIN()

12