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

Function malloc_write

deps/jemalloc/src/malloc_io.c:82–89  ·  view source on GitHub ↗

* Wrapper around malloc_message() that avoids the need for * je_malloc_message(...) throughout the code. */

Source from the content-addressed store, hash-verified

80 * je_malloc_message(...) throughout the code.
81 */
82void
83malloc_write(const char *s) {
84 if (je_malloc_message != NULL) {
85 je_malloc_message(NULL, s);
86 } else {
87 wrtmessage(NULL, s);
88 }
89}
90
91/*
92 * glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so

Callers 15

safety_check_failFunction · 0.70
malloc_conf_nextFunction · 0.70
imalloc_bodyFunction · 0.70
imalloc_init_checkFunction · 0.70
jemalloc.cFile · 0.70
prof_dump_flushFunction · 0.70
prof_boot2Function · 0.70
init_thp_stateFunction · 0.70
pages_bootFunction · 0.70
pthread_create_fptr_initFunction · 0.70

Calls 1

wrtmessageFunction · 0.70

Tested by

no test coverage detected