> -----Original Message----- > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: Monday, May 09, 2016 12:40 PM > To: Zytaruk, Kelly; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] dumping Xen stack > > On 09/05/16 17:37, Zytaruk, Kelly wrote: > > Does Xen have an equivalent function to the Linux dump_stack() function? > > > > I am hitting a panic followed by a reboot and would like to find out where > > I am > coming from. > > At the point of a crash, the stack should be printed on the console.
The only thing I am seeing on the console is the panic message followed by the system will reboot in 5 sec. > > Alternatively, show_execution_state() at any point should dump the Xen > register/stack. I looked up show_execution_state() and show_trace() and they both require a pointer to registers. I am hitting a panic during boot in queue_invalidate_wait() in .../drivers/passthrough/vtd/qinval.c . I am not sure how to get the register pointer from here. > > ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel