Re: EXPORT_SYMBOL

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

 



kanishk rastogi schrieb:
> hi all,
> When we export a symbol using EXPORT_SYMBOL, We can use it to be called
> by other modules when we insert this module .......
> I wanted to know when does this symbol gets added to the kernel symbol
> table ...

It's added when the module is loaded with insmod and removed when the
module is removed.
But you don't have to use EXPORT_SYMBOL. if you don't care about it,
every symbol, that is not static will be exportet.

> Or what happens when we insert the module so that this symbol is
> accessible ....

If you want to check which symbols of your module are exported, check
/proc/kallsyms.

andi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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