On Sun, 22 Jun 2003, Eli Billauer wrote:

<snip>
> I looked for some non-static function in quirks.c, and found
> pci_fixup_devices. So off I went to the laptop which runs this kernel
> and did:
>
> grep fixup /proc/ksyms
>
> and got nothing.


For an identifier to appear in /proc/ksyms, it is not sufficient to be
non-static. It must be exported as well using the EXPORT_SYMBOL() macro.
So if that function is not marked exported, then it will not appear in
/proc/ksyms.

It is not necessary for the EXPORT_SYMBOL() macro to appear in the same
file where the function is defined. Most kernel symbols are exported in
the kernel/ksyms.c file, but some are exported from other places.

<snip>


                                                Regards,
                                                        Emil

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to