From owner-freebsd-hackers Sun Sep 28 00:20:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA14876 for hackers-outgoing; Sun, 28 Sep 1997 00:20:41 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA14856 for ; Sun, 28 Sep 1997 00:20:34 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA00267; Sun, 28 Sep 1997 09:20:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id JAA00677; Sun, 28 Sep 1997 09:03:16 +0200 (MET DST) Message-ID: <19970928090315.YW58243@uriah.heep.sax.de> Date: Sun, 28 Sep 1997 09:03:15 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: roberte@MEP.Ruhr-Uni-Bochum.de (Robert Eckardt) Subject: Re: ? malloc Dump ? References: <199709280112.DAA02142@ghost.mep.ruhr-uni-bochum.de> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199709280112.DAA02142@ghost.mep.ruhr-uni-bochum.de>; from Robert Eckardt on Sep 28, 1997 03:12:33 +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Robert Eckardt wrote: > I'm trying to get malloc (2.2.2) to dump statistics in `malloc.out'. (Btw., this option disappeared in -current, it has been dropped in rev 1.26.) > 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 ? Did you recompile malloc(3) with MALLOC_STATS? It's being explicitly #undef'ed by default. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)