Re: [RFC] Smarter stack traces using the frame pointer
From: Martin J. Bligh
Date: Wed Nov 05 2003 - 15:10:39 EST
>> 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?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/