diff options
author | Jason Evans <jasone@canonware.com> | 2010-01-17 23:49:25 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2010-01-17 23:49:25 (GMT) |
commit | 00b5c9334701d10a798ae86cd142df882f28519c (patch) | |
tree | 7e3fb6cbd5748d9a4cb9678c11603b4eae30c1d2 /jemalloc/doc | |
parent | b0fd5016db74678476868abb380170b319a50480 (diff) | |
download | jemalloc-00b5c9334701d10a798ae86cd142df882f28519c.zip jemalloc-00b5c9334701d10a798ae86cd142df882f28519c.tar.gz jemalloc-00b5c9334701d10a798ae86cd142df882f28519c.tar.bz2 |
Add the write4 parameter to malloc_stats_print().
Add malloc_cprintf() and malloc_vcprintf().
Diffstat (limited to 'jemalloc/doc')
-rw-r--r-- | jemalloc/doc/jemalloc.3.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/jemalloc/doc/jemalloc.3.in b/jemalloc/doc/jemalloc.3.in index ca8deb1..6c414a7 100644 --- a/jemalloc/doc/jemalloc.3.in +++ b/jemalloc/doc/jemalloc.3.in @@ -65,7 +65,7 @@ @roff_tcache@.Ft void @roff_tcache@.Fn @jemalloc_prefix@malloc_tcache_flush "void" .Ft void -.Fn @jemalloc_prefix@malloc_stats_print "const char *opts" +.Fn @jemalloc_prefix@malloc_stats_print "void (*write4)(const char *, const char *, const char *, const char *)" "const char *opts" .Ft const char * .Va @jemalloc_prefix@malloc_options ; .Ft void @@ -179,7 +179,14 @@ implementation-dependent. .Pp The .Fn @jemalloc_prefix@malloc_stats_print -function prints human-readable summary statistics. +function writes human-readable summary statistics via the +.Fa write4 +callback function, or +.Fn malloc_message +if +.Fa write4 +is +.Dv NULL . This function can be called repeatedly. General information that never changes during execution can be omitted by specifying |