Re: searching exported symbols from modules

From: Arjan van de Ven
Date: Wed Apr 19 2006 - 10:22:34 EST


On Wed, 2006-04-19 at 15:44 +0300, Antti Halonen wrote:
> Hi,
>
> Apologies if I posted this question to wrong place.
>
> Here's the thing: when loading my module 'a', I want to search modules
> list to check if module 'b' is presents, and if it is, initialize my
> function pointers to the functions module b has exported. Or at least
> search symbols from module b, whatever. The main question is; how to
> locate modules
> by name from my module a?
>
> Is this doable? Can anyone give me pointers?
>
> Sorry for posting such a stupid question, but I didn't run into
> satisfactory when searching the archive & many of the functions which
> would have resolved this are apparently not exported anymore.

they still are... but.. very often if you want to do this you have a
crooked design, you were very vague about what you are really trying to
achieve (you only described your solution, not the problem)

-
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/