While browsing linux source code what i found
that if function is defined as asmlinkage long sys_open(const char * filename, int
flags, int mode)
then its not exported to kenrel and thus not seen in
/proc/ksyms. But if function in kernel source is not
defined with asmlinkage then it is exported to kernel
and seen in /proc/ksyms.
Only functions that are expected to be used by modules are exported. asmlinkage has nothing to do with it.
--Swapnil
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/