Date: Wed, 24 Sep 1997 00:03:18 +0200 (MESZ) From: Robert Eckardt <roberte@MEP.Ruhr-Uni-Bochum.de> To: questions@freebsd.org Subject: malloc Dump ? Message-ID: <199709232203.AAA02264@ghost.mep.ruhr-uni-bochum.de>
next in thread | raw e-mail | index | archive | help
Hi,
I'm trying to get malloc (2.2.2) to dump statistics in `malloc.out'.
1. extern char *malloc_options;
...
malloc_options = "D"; /* first line in main() */
2. % echo $MALLOC_OPTIONS
D
3. /etc/malloc.conf -> D
touch'd malloc.out
main() returns with `return 0;'
However, I don't get the statistics.
-rw-rw-r-- 1 roberte work 0 23 Sep 23:36 malloc.out
What am I doing wrong ?
(Option `A' works, btw.)
Robert
--
Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm)
RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm)
http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709232203.AAA02264>
