Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2005 17:57:02 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: UFS/FFS/softupdates/snapshots: the view from 10m above 
Message-ID:  <51583.1107881822@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 08 Feb 2005 16:51:30 GMT." <Pine.NEB.3.96L.1050208164554.18460A-100000@fledge.watson.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.NEB.3.96L.1050208164554.18460A-100000@fledge.watson.org>, Robert Watson writes:

>That and a lot of hand-crafting and cleanup.  The first thing you find out
>when trying to apply cflow and graphviz to the kernel in order to generate
>a call flow diagram is that there's a lot of "stuff" and the type of
>picture you want is as much a product of how you plan to use the picture
>as the source you base it on.

The tcl/tk scripts I've done grabs everything, then you tell it incrementally
what functions to "loose", things like "__.*" and "mtx.*" is a good start.

You can also add lines which are missing.

Since the script have no idea where calls through pointers go it
adds a pseudofunction with a star prefixed, and it's your own
responsibility to link these up.

It's not great, but it works.  It would be neat if somebody write code to
use the GUI bits of Tk so that you could point and click more etc.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51583.1107881822>