From owner-freebsd-hackers Sat Sep 27 18:12:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA24850 for hackers-outgoing; Sat, 27 Sep 1997 18:12:35 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA24844 for ; Sat, 27 Sep 1997 18:12:31 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.8.5/8.8.4) id DAA02142 for hackers@freebsd.org; Sun, 28 Sep 1997 03:12:33 +0200 (MESZ) From: Robert Eckardt Message-Id: <199709280112.DAA02142@ghost.mep.ruhr-uni-bochum.de> Subject: ? malloc Dump ? To: hackers@freebsd.org Date: Sun, 28 Sep 1997 03:12:33 +0200 (MESZ) X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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