From owner-freebsd-hackers Tue Sep 24 10:56:56 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA18030 for hackers-outgoing; Tue, 24 Sep 1996 10:56:56 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA17907 for ; Tue, 24 Sep 1996 10:56:35 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id TAA01206 for ; Tue, 24 Sep 1996 19:55:51 +0200 (MET DST) To: hackers@freebsd.org Subject: Re: phkmalloc, the pictures... In-reply-to: Your message of "Tue, 24 Sep 1996 17:21:26 +0200." <304.843578486@critter.tfs.com> Date: Tue, 24 Sep 1996 19:55:50 +0200 Message-ID: <1204.843587750@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk OK, I have uploaded a subset of my malloc-analysis-tools to ftp://freebsd.org/incoming/KTM.tgz You will find both some postscript files (*.ps.gz) which formattet for A4, the smaller of the two original ktrace.out files and the scripts and c-code to generate them. The bigger your output device the better. You can either tweak the g02.sh script to use whatever size paper you have or just stick an suitable "1.44 1.44 scale" or similar at the top of the postscript. The README follows here: ------------------------------------------------------------------------- OK, what's this ? It's the simple quasi-artistic part of my malloc analysis suite. How to use it: recompile libc, ktrace & kdump to -current level env MALLOC_OPTIONS=U ktrace -t u -i sh g03.sh You will now have some *.ps.gz files to look at or print. g02.sh contains some code you can tweak for paper-size &c &c. The horizontal scale is "one tick per malloc/free/realloc call". The vertical scale is address-room, the gray/dotted horizontal lines separate the individual 4k pages. If you find any good/bad examples, please gzip the ktrace.out file and upload it to freebsd.org for me to look at, and send me an email with the history behind it. Comments to: phk@FreeBSD.org ------------------------------------------------------------------------- -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.