Re: /proc/ksyms and /proc/kallsyms relationship?

From: Arjan van de Ven
Date: Sun Nov 09 2008 - 22:36:37 EST


On Mon, 10 Nov 2008 03:00:16 +0200
John K <trv@xxxxxxxxxxx> wrote:

> 4. If one wants to find out what are the exported symbols from some
> module, so to know which symbols can he use in a future module, how
> can he achieve this?

you as developer can do a grep on the kernel source for
EXPORT_SYMBOL ...

and the module loader will also tell you if you use a symbol that's not
exported....

but realistically if you use the standard APIs you're not going to find
symbols that aren't exported... what kind of driver are you trying to
write?

--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/