From owner-freebsd-current@FreeBSD.ORG Tue Feb 8 16:57:03 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9066F16A4CE; Tue, 8 Feb 2005 16:57:03 +0000 (GMT) Received: from critter.freebsd.dk (f170.freebsd.dk [212.242.86.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id E122A43D54; Tue, 8 Feb 2005 16:57:02 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id j18Gv2wu051584; Tue, 8 Feb 2005 17:57:02 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 08 Feb 2005 16:51:30 GMT." Date: Tue, 08 Feb 2005 17:57:02 +0100 Message-ID: <51583.1107881822@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: Bosko Milekic cc: current@FreeBSD.org Subject: Re: UFS/FFS/softupdates/snapshots: the view from 10m above X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 16:57:03 -0000 In message , 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.