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

Function malloc_write

deps/memkind/src/jemalloc/src/malloc_io.c:95–102  ·  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

93 * je_malloc_message(...) throughout the code.
94 */
95void
96malloc_write(const char *s) {
97 if (je_malloc_message != NULL) {
98 je_malloc_message(NULL, s);
99 } else {
100 wrtmessage(NULL, s);
101 }
102}
103
104/*
105 * glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so

Callers 15

malloc_conf_nextFunction · 0.70
imalloc_bodyFunction · 0.70
imallocFunction · 0.70
jemalloc.cFile · 0.70
prof_dump_flushFunction · 0.70
prof_boot2Function · 0.70
pages_bootFunction · 0.70
background_thread_boot0Function · 0.70
stats_printFunction · 0.70
tsd_cleanup_wrapperFunction · 0.50

Calls 1

wrtmessageFunction · 0.70

Tested by

no test coverage detected