Messages in this thread | | | Date | Tue, 9 Aug 2005 09:09:19 +0200 (MEST) | From | Jan Engelhardt <> | Subject | Re: [HELP] How to get address of module |
| |
>What I wanted is: given the segfault address, I would like to > >1) get which module it is in >2) in that module, within which function it segfaulted > >module_address_lookup would do!
If a kernel oopses or similar, it already prints where it faulted:
EIP is at schedule_timeout+0x1234/abcde
If you have the EIP, you can look at /proc/modules to find the module, and then use "nm" to find the function. Note that inlining makes "nm" and objdumpers less effective.
Jan Engelhardt -- - 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/
| |