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

Function prof_dump_printf

deps/jemalloc/src/prof.c:1312–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1310
1311JEMALLOC_FORMAT_PRINTF(2, 3)
1312static bool
1313prof_dump_printf(bool propagate_err, const char *format, ...) {
1314 bool ret;
1315 va_list ap;
1316 char buf[PROF_PRINTF_BUFSIZE];
1317
1318 va_start(ap, format);
1319 malloc_vsnprintf(buf, sizeof(buf), format, ap);
1320 va_end(ap);
1321 ret = prof_dump_write(propagate_err, buf);
1322
1323 return ret;
1324}
1325
1326static void
1327prof_tctx_merge_tdata(tsdn_t *tsdn, prof_tctx_t *tctx, prof_tdata_t *tdata) {

Callers 4

prof_tctx_dump_iterFunction · 0.70
prof_tdata_dump_iterFunction · 0.70
prof_dump_header_implFunction · 0.70
prof_dump_gctxFunction · 0.70

Calls 2

malloc_vsnprintfFunction · 0.70
prof_dump_writeFunction · 0.70

Tested by

no test coverage detected