All of lore.kernel.org
 help / color / mirror / Atom feed
* __dump_execstate() + x86's dump_exececution_state()
@ 2007-01-12 16:18 Jan Beulich
  2007-01-12 17:40 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2007-01-12 16:18 UTC (permalink / raw)
  To: xen-devel

I find it rather useless that due to the use of ud2 here, the context printed is
always in Xen, even if what was interrupted (and hence active at the point)
was guest code. I would want to utilize the frame smp_call_function_interrupt()
sees, and am therefore wondering if it would be acceptable to add a simple
hack to this function to pass the frame pointer as info in case the requested
info was NULL. Or whether there are other ideas how to enhance the situation
here.

Thanks, Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: __dump_execstate() + x86's dump_exececution_state()
  2007-01-12 16:18 __dump_execstate() + x86's dump_exececution_state() Jan Beulich
@ 2007-01-12 17:40 ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2007-01-12 17:40 UTC (permalink / raw)
  To: Jan Beulich, xen-devel

On 12/1/07 16:18, "Jan Beulich" <jbeulich@novell.com> wrote:

> I find it rather useless that due to the use of ud2 here, the context printed
> is
> always in Xen, even if what was interrupted (and hence active at the point)
> was guest code. I would want to utilize the frame
> smp_call_function_interrupt()
> sees, and am therefore wondering if it would be acceptable to add a simple
> hack to this function to pass the frame pointer as info in case the requested
> info was NULL. Or whether there are other ideas how to enhance the situation
> here.

Good point. I've now fixed it to dump *both* guest context and Xen context
always (or print that the vcpu is idling and print only Xen context).

 -- Keir

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-12 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 16:18 __dump_execstate() + x86's dump_exececution_state() Jan Beulich
2007-01-12 17:40 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.