Messages in this thread | | | Date | Wed, 05 Nov 2003 11:56:34 -0800 | From | "Martin J. Bligh" <> | Subject | Re: [RFC] Smarter stack traces using the frame pointer |
| |
>> I was working on this for the mjb tree but I thought I'd throw it out >> here in case anyone else finds it interesting. This simple change to >> the stack trace code uses the frame pointer to do the trace instead of >> assuming any kernel address on the stack is a return address. It makes >> for much more readable stack traces. > > I was asked by a colleague to do the same thing and came up with this > alternative version which, I think, gets it mostly right - I am not > sure about the stack trace from an OOPS. > > Don't bother to tell me this is a bit of a hack - I know :-) > > Patch relative to 2.6.0-test9.
What's the difference between the two patches, apart from the size? Better error handling / functionality somehow?
M.
- 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/
| |