Date: Tue, 24 Sep 1996 19:55:50 +0200 From: Poul-Henning Kamp <phk@critter.tfs.com> To: hackers@freebsd.org Subject: Re: phkmalloc, the pictures... Message-ID: <1204.843587750@critter.tfs.com> In-Reply-To: Your message of "Tue, 24 Sep 1996 17:21:26 %2B0200." <304.843578486@critter.tfs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <some command> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1204.843587750>