smalloc: print debug info on oom error
[fio.git] / smalloc.h
index 8df10e6f67fd401defbb99b3e68ab0ab15a9d619..1f7716f45a8d0308f4bcee85225382052d23d08f 100644 (file)
--- a/smalloc.h
+++ b/smalloc.h
@@ -9,6 +9,7 @@ extern void sfree(void *);
 extern char *smalloc_strdup(const char *);
 extern void sinit(void);
 extern void scleanup(void);
+extern void smalloc_debug(size_t);
 
 extern unsigned int smalloc_pool_size;