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

Function prof_tdata_cleanup

deps/jemalloc/src/prof.c:2385–2397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2383}
2384
2385void
2386prof_tdata_cleanup(tsd_t *tsd) {
2387 prof_tdata_t *tdata;
2388
2389 if (!config_prof) {
2390 return;
2391 }
2392
2393 tdata = tsd_prof_tdata_get(tsd);
2394 if (tdata != NULL) {
2395 prof_tdata_detach(tsd, tdata);
2396 }
2397}
2398
2399bool
2400prof_active_get(tsdn_t *tsdn) {

Callers 1

tsd_do_data_cleanupFunction · 0.70

Calls 1

prof_tdata_detachFunction · 0.70

Tested by

no test coverage detected