[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48133537.7040800@cs.helsinki.fi>
Date: Sat, 26 Apr 2008 16:59:19 +0300
From: Pekka Enberg <penberg@...helsinki.fi>
To: Vegard Nossum <vegard.nossum@...il.com>
CC: Sam Ravnborg <sam@...nborg.org>, Adrian Bunk <bunk@...nel.org>,
linux-kbuild@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] headerdep: a tool for detecting inclusion cycles in header
file
Hi Vegard,
Vegard Nossum wrote:
> @@ -0,0 +1,143 @@
> +#! /usr/bin/perl
> +#
> +# Detect cycles in the header file dependency graph
> +# Vegard Nossum <vegardno@....uio.no>
> +#
> +
> +use strict;
> +use warnings;
> +
> +my @I = ('include');
> +my %deps = ();
> +
> +my @headers = grep { strip($_) } @ARGV;
> +
> +parse_all(@headers);
> +
> +detect_cycles(@headers);
> +#graph();
[snip]
> +exit;
> +# Output dependency graph in GraphViz language.
> +sub graph {
Shouldn't there be a command line option for printing out the GraphViz
files?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists