Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 1997 03:12:33 +0200 (MESZ)
From:      Robert Eckardt <roberte@MEP.Ruhr-Uni-Bochum.de>
To:        hackers@freebsd.org
Subject:   ? malloc Dump ?
Message-ID:  <199709280112.DAA02142@ghost.mep.ruhr-uni-bochum.de>

next in thread | raw e-mail | index | archive | help
Hi,
after asking already on -questions, I now try -hackers.

I'm trying to get malloc (2.2.2) to dump statistics in `malloc.out'.

I used so far:
1.  extern char *malloc_options;
    ...
    malloc_options = "D";       /* first line in main() */

2.  % echo $MALLOC_OPTIONS 
    D

3.  /etc/malloc.conf -> D

I did touch malloc.out and 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?199709280112.DAA02142>