public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [ANNOUNCE] include dependency graph script
@ 2001-12-30  3:30 Arnaldo Carvalho de Melo
  2001-12-30  3:55 ` Keith Owens
  0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-12-30  3:30 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Kernel Janitor Project

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-12-30  4:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-30  3:30 [ANNOUNCE] include dependency graph script Arnaldo Carvalho de Melo
2001-12-30  3:55 ` Keith Owens
2001-12-30  4:03   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox