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

Function prof_dump_close

deps/jemalloc/src/prof.c:1267–1277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265}
1266
1267static bool
1268prof_dump_close(bool propagate_err) {
1269 bool ret;
1270
1271 assert(prof_dump_fd != -1);
1272 ret = prof_dump_flush(propagate_err);
1273 close(prof_dump_fd);
1274 prof_dump_fd = -1;
1275
1276 return ret;
1277}
1278
1279static bool
1280prof_dump_write(bool propagate_err, const char *s) {

Callers 1

prof_dump_fileFunction · 0.70

Calls 1

prof_dump_flushFunction · 0.70

Tested by

no test coverage detected