Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
static void
14
set_prof_active(bool active) {
15
assert_d_eq(mallctl(
"prof.active"
, NULL, NULL, (void *)&active,
16
sizeof(active)), 0,
"Unexpected mallctl failure"
);
17
}
18
19
static size_t
20
get_lg_prof_sample(void) {
Callers
1
prof_reset.c
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected