diff options
-rw-r--r-- | share/man/man9/malloc.9 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index 97c58db0cd1..4b076a378f0 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: malloc.9,v 1.17 2001/06/28 22:14:23 millert Exp $ +.\" $OpenBSD: malloc.9,v 1.18 2001/07/17 15:52:56 art Exp $ .\" $NetBSD: malloc.9,v 1.2 1996/10/30 05:29:54 lukem Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -411,15 +411,25 @@ A kernel compiled with the option allows for more extensive debugging of memory allocations. You can choose which allocation to debug with the -.Va malloc_deb_type +.Va malloc_deb_type , +.Va malloc_deb_size , +.Va malloc_deb_size_lo and -.Va malloc_deb_size +.Va malloc_deb_size_hi variables. .Va malloc_deb_type should be set to the memory type and .Va malloc_deb_size should be set to the memory size you want to debug. 0 can be used as a wildcard. +.Va malloc_deb_size_lo +and +.Va malloc_deb_size_hi +Can be used to specify a range of sizes if the exact size to debug is not +known. +When those are used, you need to set +.Va malloc_deb_size +to the wildcard. .Pp Every call to .Fn malloc |