Re: /proc/ksyms and driver functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> if u want to list those functions then 1) u need to export
> (EXPORT_SYMBOL) them. 2) make that driver as a module so that all
> the

One _OR_ the other, not both. All symbols from modules are exported by
default, unless overriden (might be overriden by some magic macro in
moudle.h). From kernel proper, symbols are exported using
EXPORT_SYMBOL
macro (it may only appear in file marked as exporting something in the
Makefile, so a global ksyms.c and per-arch ksyms.c are used.
Sorry for the wrong way of putting it. Even i want to say the
same thing either u can do step 1) or 2) to get the symbols listed.

Nitin




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux