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

Function set_prof_active

deps/jemalloc/test/unit/prof_reset.c:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13static void
14set_prof_active(bool active) {
15 assert_d_eq(mallctl("prof.active", NULL, NULL, (void *)&active,
16 sizeof(active)), 0, "Unexpected mallctl failure");
17}
18
19static size_t
20get_lg_prof_sample(void) {

Callers 1

prof_reset.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected