|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Improve guest stack traces
And if you're using a compiler that generates symbols that gdb
supports, you can get a *lot* more info by using gdb + gdbserver.
Writing a script to wrap execing those two and dumping a crashed VMs
state would be a fairly trivial exercise.
-Kip
On 1/14/06, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
On 13 Jan 2006, at 23:13, John Levon wrote:
> Add an option to use the frame pointer for guest stack traces. > For stack dumps, avoid assumptions regarding stack size, and > continue past unreadable addresses, which helps when a guest
> has overflowed its stack. > > Signed-off-by: John Levon <john.levon@xxxxxxx>
Improved guest backtraces belong in the xenctx utility (tools/xentrace/xenctx.c). It already has the clear advantage that it
can print kernel symbols as well as addresses. The stack dump code in Xen is mainly for very early crashes in dom0, and it's quite sufficient for that.
So, if you want a frame-walking mode, put it in xenctx.
-- Keir
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|