Messages in this thread | | | Date | Thu, 2 Dec 2004 23:40:12 +0000 (GMT) | From | Ken Moffat <> | Subject | Re: [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/
| |