Re: [PATCH] Initcall depends automagic

Rusty Russell (rusty@rustcorp.com.au)
Fri, 19 Jul 2002 11:29:13 +1000


In message <20020718074421.GN1096@holomorphy.com> you write:
> On Thu, Jul 18, 2002 at 05:36:09PM +1000, Rusty Russell wrote:
> > This patch generates initcall ordering based on the theory that if A.o
> > references a symbol in B.o, then B.o's initcall must preceed A.o's.
>
> Any chance you can post the strongly connected components of the
> dependency graph?

Hmm, I don't have that at the moment, but apply the patch and do a
build, and you'll get a ".defs" file for each .o file, eg
kernel/futex.o.defs which contains U and T lines (as per nm output)
showing what symbols it defines and requires.

Then you can do all the analysis you need 8)

Good luck!
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/