lkml.org 
[lkml]   [2004]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] misleading error message
On Thu, 2 Dec 2004, David Ford wrote:

> Random side thoughts..
>
> a) is there a simple way to search for symbols in a running kernel's
> memory area that
> b) can differentiate between module and static, and if so
> c) is there an interest in a tiny tool that scripts could use to
> determine existing support?
>

Take a look in /proc/kallsyms when you have a module loaded. The
addresses are nowhere near the rest of the kernel, and the module names
appear in square brackets at the end of the lines, so something like

grep '\[natsemi\]' /proc/kallsyms

will find out if the natsemi driver is loaded.

Ken
--
das eine Mal als Tragödie, das andere Mal als Farce

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.282 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site