From 5a406510466943f9c70b88bd1a9398147e02e470 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 20 Mar 2002 14:16:31 +0000 Subject: [PATCH] Update dmalloc options per suggestion from Glenn --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c83e7f33..19c28edf3 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,11 @@ DODEBUG = false # which is an excellent public domain mem leak and malloc problem # detector. To enable dmalloc, before running busybox you will # want to first set up your environment. -# eg: `export DMALLOC_OPTIONS=debug=0x14f47d83,inter=100,log=logfile` +# eg: `export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile` +# The debug= value is generated using the following command +# dmalloc -p log-stats -p log-non-free -p log-bad-space -p log-elapsed-time \ +# -p check-fence -p check-heap -p check-lists -p check-blank \ +# -p check-funcs -p realloc-copy -p allow-free-null # Do not enable this for production builds... DODMALLOC = false