Re: [PATCH] cheap lookup of symbol names on oops()

Alan Cox
2002-07-25T21:29:33Z

On Thu, 2002-07-25 at 18:00, Cort Dougan wrote:
> This is from the -atp (Aunt Tillie and Penelope) tree.
>
> This patch adds a small function that looks up symbol names that correspond
> to given addresses by digging through the already existent ksyms table.
> It's invaluable for debugging on embedded systems - especially when testing
> modules - since ksymoops is a hassle to deal with in cross-build
> environments. We already have this info in the kernel so we might as well
> use it.

I would much rather have hex data. It makes all the parsing tools
connected to the serial port that much easier. If instead of hacking the
kernel you bang out a little bit of expect you can do it all on the host
driving the embedded box, and find the file names, and open them in an
editor at the right function, and do a parallel lookup in bugzilla for
matching oops logs...