June 13, 2014
3:47 a.m.
On Thu, 12 Jun 2014 16:23:58 -0700, Ji Li said:
I happened to find that a static function show up in kernel symbol table:
Could anyone kindly cast some light?
Hint: 'static' prevents code in other compilation units (basically, other .c files) from referencing it directly (though they can still access it via a function pointer variable or other similar tricks). That does *not* mean that other code in the *same* compilation unit can't reference the static function in a way that requires a symbol table entry...