MCPcopy Create free account
hub / github.com/beefytech/Beef / prof_dump_printf

Function prof_dump_printf

BeefRT/JEMalloc/src/prof_data.c:508–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506
507JEMALLOC_FORMAT_PRINTF(3, 4)
508static void
509prof_dump_printf(write_cb_t *prof_dump_write, void *cbopaque,
510 const char *format, ...) {
511 va_list ap;
512 char buf[PROF_PRINTF_BUFSIZE];
513
514 va_start(ap, format);
515 malloc_vsnprintf(buf, sizeof(buf), format, ap);
516 va_end(ap);
517 prof_dump_write(cbopaque, buf);
518}
519
520/*
521 * Casting a double to a uint64_t may not necessarily be in range; this can be

Callers 5

prof_dump_print_cntsFunction · 0.85
prof_tctx_dump_iterFunction · 0.85
prof_tdata_dump_iterFunction · 0.85
prof_dump_headerFunction · 0.85
prof_dump_gctxFunction · 0.85

Calls 1

malloc_vsnprintfFunction · 0.85

Tested by

no test coverage detected