Searched refs:prof_active (Results 1 - 10 of 10) sorted by relevance

/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Dprof_inlines.h16 prof_tctx_t *prof_alloc_prep(tsd_t *tsd, size_t usize, bool prof_active,
21 size_t usize, prof_tctx_t *tctx, bool prof_active, bool updated,
34 * setting prof_active to false. No locking is used when reading
35 * prof_active in the fast path, so there are no guarantees regarding
38 return (prof_active);
136 prof_alloc_prep(tsd_t *tsd, size_t usize, bool prof_active, bool update) argument
144 if (!prof_active || likely(prof_sample_accum_update(tsd, usize, update,
174 prof_tctx_t *tctx, bool prof_active, bool updated, extent_t *old_extent,
182 if (prof_active && !updated && ptr != NULL) {
173 prof_realloc(tsd_t *tsd, extent_t *extent, const void *ptr, size_t usize, prof_tctx_t *tctx, bool prof_active, bool updated, extent_t *old_extent, const void *old_ptr, size_t old_usize, prof_tctx_t *old_tctx) argument
H A Dprof_externs.h23 extern bool prof_active;
H A Dprivate_namespace.h361 #define prof_active JEMALLOC_N(prof_active) macro
H A Dprivate_unnamespace.h361 #undef prof_active macro
/fuchsia/zircon/third_party/ulib/jemalloc/src/
H A Djemalloc.c1113 CONF_HANDLE_BOOL(opt_prof_active, "prof_active",
1893 bool prof_active; local
1896 prof_active = prof_active_get_unlocked();
1898 tctx = prof_alloc_prep(tsd, usize, prof_active, true);
1911 prof_realloc(tsd, extent, p, usize, tctx, prof_active, true, old_extent,
2255 bool prof_active; local
2258 prof_active = prof_active_get_unlocked();
2260 tctx = prof_alloc_prep(tsd, *usize, prof_active, false);
2286 prof_realloc(tsd, extent, p, *usize, tctx, prof_active, false,
2402 bool prof_active; local
[all...]
H A Dprof.c37 bool prof_active; variable
2071 prof_active_current = prof_active;
2082 prof_active_old = prof_active;
2083 prof_active = active;
2267 prof_active = opt_prof_active;
2268 if (malloc_mutex_init(&prof_active_mtx, "prof_active",
H A Dstats.c623 OPT_WRITE_BOOL_MUTABLE(prof_active, prof.active, ",")
H A Dctl.c124 CTL_PROTO(prof_active)
245 {NAME("prof_active"), CTL(opt_prof_active)},
319 {NAME("active"), CTL(prof_active)},
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dmallctl.c180 TEST_MALLCTL_OPT(bool, prof_active, prof);
/fuchsia/zircon/third_party/ulib/jemalloc/
H A DMakefile.in178 $(srcroot)test/unit/prof_active.c \
443 $(MALLOC_CONF)="prof:true,prof_active:false" $(SHELL) $(objroot)test/test.sh $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%) $(TESTS_INTEGRATION_CPP:$(srcroot)%.cpp=$(objroot)%)

Completed in 114 milliseconds