[LWN Logo]
[LWN.net]
From:	 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To:	 Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [ANNOUNCE] include dependency graph script
Date:	 Sun, 30 Dec 2001 01:30:33 -0200
Cc:	 Kernel Janitor Project 	<kernel-janitor-discuss@lists.sourceforge.net>

Hi,

	For the people that like me, Daniel Phillips and Manfred Spraul are
working on pruning the include dependencies in the kernel sources I made a
simple script to make a graphviz file to plot the dependencies in a nice
graphic, its availabe at:

http://www.kernel.org/pub/linux/kernel/people/acme/hviz

usage:

hviz include/net/sock.h 2 | dotty -

or

hviz include/net/sock.h 2 > /tmp/sock.dot
dot -Tps /tmp/sock.dot > /tmp/sock.ps
gv /tmp/sock.ps

Yes, one can do that with pipes and not with the temporary sock.dot file,
but this is just so that you can see how the intermediate graphviz file
look like.

this example is also available at:

http://www.kernel.org/pub/linux/kernel/people/acme/sock_include_deps.ps

So that people can see how it looks :-)

the graphviz package is available at:
http://www.research.att.com/sw/tools/graphviz/

Comments and patches for the script are welcome.

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/