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

Function malloc_cprintf

deps/memkind/src/jemalloc/src/malloc_io.c:660–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658 */
659JEMALLOC_FORMAT_PRINTF(3, 4)
660void
661malloc_cprintf(void (*write_cb)(void *, const char *), void *cbopaque,
662 const char *format, ...) {
663 va_list ap;
664
665 va_start(ap, format);
666 malloc_vcprintf(write_cb, cbopaque, format, ap);
667 va_end(ap);
668}
669
670/* Print to stderr in such a way as to avoid memory allocation. */
671JEMALLOC_FORMAT_PRINTF(1, 2)

Callers 10

mutex_stats_output_jsonFunction · 0.70
stats_arena_bins_printFunction · 0.70
mutex_stats_outputFunction · 0.70
stats_arena_printFunction · 0.70
stats_general_printFunction · 0.70
stats_print_helperFunction · 0.70
stats_printFunction · 0.70
p_test_failFunction · 0.50

Calls

no outgoing calls

Tested by 1

p_test_failFunction · 0.40