From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Kernel Janitor Project <kernel-janitor-discuss@lists.sourceforge.net>
Subject: [ANNOUNCE] include dependency graph script
Date: Sun, 30 Dec 2001 01:30:33 -0200 [thread overview]
Message-ID: <20011230013033.A2856@conectiva.com.br> (raw)
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
next reply other threads:[~2001-12-30 3:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-30 3:30 Arnaldo Carvalho de Melo [this message]
2001-12-30 3:55 ` [ANNOUNCE] include dependency graph script Keith Owens
2001-12-30 4:03 ` Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011230013033.A2856@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=kernel-janitor-discuss@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox