Re: 2.1.22 unneeded global symbols

Theodore Y. Ts'o (tytso@MIT.EDU)
Fri, 24 Jan 1997 19:32:34 -0500


From: alan@lxorguk.ukuu.org.uk (Alan Cox)
Date: Fri, 24 Jan 1997 19:36:37 +0000 (GMT)

Its wrong. Your script needs to handle inline function export names and
also assembler and references buried in include files. Also function
names used as variables and passed directly or indirectly to functions.

Its a start but the script is obviously making some bad mistakes atm.

True, but it is good enough for developers (at least of smaller parts of
the kernel), to hand-inspect the a driver to see if a symbol really
needs to be external or not.

I can understand that for a huge subsystem like the networking layer,
Thomas's script might be generating too much noise to make it worthwhile
to use, but for other parts of the kernel it can be quite handy.

- Ted