Loading...
--- libmalloc/libmalloc-792.41.1/man/malloc.3
+++ libmalloc/libmalloc-521.120.7/man/malloc.3
@@ -238,15 +238,11 @@
 .Ev MallocGuardEdges
 environment variable is set.
 .It Ev MallocStackLogging
-The default behavior when set to 1 is "lite" mode as described below.
-.Pp
-Set to "lite" to record stack traces for current allocations only, without history, so that tools like
+The default behavior if this is set is to record all allocation and deallocation events to an on-disk log, along with stacks, so that tools like
 .Xr leaks 1
 and
 .Xr malloc_history 1
-can later use them. These are recorded to in-memory data structures and do not write to the filesystem.
-.Pp
-Set to "full" to record allocation and deallocation events to an on-disk log, along with stacks, for later use by analysis tools. The process must have write access to the pre-existing output directory, which can be specified with MallocStackLoggingDirectory.
+can be used.
 .Pp
 Set to "vm" to record only allocation of virtual memory regions allocated by system calls and mach traps, such as by
 .Xr mmap 1
@@ -256,8 +252,11 @@
 .Xr malloc 3
 and related interfaces, not virtual memory regions.
 .Pp
+Set to "lite" to record current allocations only, not history.   These are recorded by in-memory data structures, instead of an on-disk log.
 .It Ev MallocStackLoggingNoCompact
-If set, implies MallocStackLogging in "full" mode and disables eliding of adjacent malloc/free events operating on the same address.
+If set, record all stacks in a manner that is compatible with the
+.Nm malloc_history
+program.
 .It Ev MallocStackLoggingDirectory
 If set, records stack logs to the directory specified instead of saving them to the default location (/tmp).
 .It Ev MallocScribble