diff options
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -50,7 +50,11 @@ DODEBUG = false | |||
| 50 | # which is an excellent public domain mem leak and malloc problem | 50 | # which is an excellent public domain mem leak and malloc problem |
| 51 | # detector. To enable dmalloc, before running busybox you will | 51 | # detector. To enable dmalloc, before running busybox you will |
| 52 | # want to first set up your environment. | 52 | # want to first set up your environment. |
| 53 | # eg: `export DMALLOC_OPTIONS=debug=0x14f47d83,inter=100,log=logfile` | 53 | # eg: `export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile` |
| 54 | # The debug= value is generated using the following command | ||
| 55 | # dmalloc -p log-stats -p log-non-free -p log-bad-space -p log-elapsed-time \ | ||
| 56 | # -p check-fence -p check-heap -p check-lists -p check-blank \ | ||
| 57 | # -p check-funcs -p realloc-copy -p allow-free-null | ||
| 54 | # Do not enable this for production builds... | 58 | # Do not enable this for production builds... |
| 55 | DODMALLOC = false | 59 | DODMALLOC = false |
| 56 | 60 | ||
