[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH, v2] x86: slightly improve stack trace on debug builds
On 26/09/2012 08:04, "Jan Beulich" <JBeulich@xxxxxxxx> wrote: > As was rather obvious from crashes recently happening in stage testing, > the debug hypervisor, in that special case, has a drawback compared to > the non-debug one: When a call through a bad pointer happens, there's > no frame, and the top level (and frequently most important for > analysis) stack entry would get skipped: > ... > > Since the bad pointer is being printed anyway (as part of the register > state), replace it with the top of stack value in such a case. > > With the introduction of is_active_kernel_text(), use it also at the > (few) other suitable places (I intentionally didn't replace the use in > xen/arch/arm/mm.c - while it would be functionally correct, the > dependency on system_state wouldn't be from an abstract perspective). > > Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |