Re: [PATCH] headerdep: a tool for detecting inclusion cycles in headerfile

From: Pekka Enberg
Date: Sat Apr 26 2008 - 10:01:23 EST


Hi Vegard,

Vegard Nossum wrote:
@@ -0,0 +1,143 @@
+#! /usr/bin/perl
+#
+# Detect cycles in the header file dependency graph
+# Vegard Nossum <vegardno@xxxxxxxxxx>
+#
+
+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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/