MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / prof_tdata_init

Function prof_tdata_init

deps/jemalloc/src/prof.c:2246–2250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2244}
2245
2246prof_tdata_t *
2247prof_tdata_init(tsd_t *tsd) {
2248 return prof_tdata_init_impl(tsd, prof_thr_uid_alloc(tsd_tsdn(tsd)), 0,
2249 NULL, prof_thread_active_init_get(tsd_tsdn(tsd)));
2250}
2251
2252static bool
2253prof_tdata_should_destroy_unlocked(prof_tdata_t *tdata, bool even_if_attached) {

Callers 1

prof_inlines_b.hFile · 0.50

Calls 4

prof_tdata_init_implFunction · 0.70
prof_thr_uid_allocFunction · 0.70
tsd_tsdnFunction · 0.50

Tested by

no test coverage detected