* query_module in 2.6
@ 2004-04-28 3:24 Pinyowattayakorn, Naris
2004-05-03 2:16 ` Rusty Russell
0 siblings, 1 reply; 3+ messages in thread
From: Pinyowattayakorn, Naris @ 2004-04-28 3:24 UTC (permalink / raw)
To: linux-kernel
Hi,
I tried to search for posts regarding to the query_module but came up empty.
It seems to me that the sys_query_module call was removed from the 2.6
kernel. So the question I have is if there any alternative way to get the
kernel module symbols in 2.6. Or, I'm missing something here?
Thanks,
Naris
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: query_module in 2.6
2004-04-28 3:24 query_module in 2.6 Pinyowattayakorn, Naris
@ 2004-05-03 2:16 ` Rusty Russell
0 siblings, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2004-05-03 2:16 UTC (permalink / raw)
To: Pinyowattayakorn, Naris; +Cc: lkml - Kernel Mailing List
On Wed, 2004-04-28 at 13:24, Pinyowattayakorn, Naris wrote:
> Hi,
>
> I tried to search for posts regarding to the query_module but came up empty.
> It seems to me that the sys_query_module call was removed from the 2.6
> kernel. So the question I have is if there any alternative way to get the
> kernel module symbols in 2.6. Or, I'm missing something here?
You shouldn't need to. But for debugging, you can use /proc/kallsyms.
Cheers,
Rusty.
--
Anyone who quotes me in their signature is an idiot -- Rusty Russell
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: query_module in 2.6
@ 2004-05-14 16:59 Rodrigo Amestica
0 siblings, 0 replies; 3+ messages in thread
From: Rodrigo Amestica @ 2004-05-14 16:59 UTC (permalink / raw)
To: linux-kernel
Hi Rusty,
what do you mean by 'You shouldn't need to'? I'm working in a 2.4.x
platform and discover that I need to check for a module symbol. Then I
decided that I should do it in such a way that no changes will be
required at the moment of porting the code to 2.6, and then I came
across with this thread.
What's the programmatical way of checking for the presence of symbol and
getting its address?
-
thanks,
Rodrigo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-14 17:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28 3:24 query_module in 2.6 Pinyowattayakorn, Naris
2004-05-03 2:16 ` Rusty Russell
-- strict thread matches above, loose matches on Subject: below --
2004-05-14 16:59 Rodrigo Amestica
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox