• J
    [PATCH] x86: Make backtracer fallback logic more bullet-proof · ea424055
    Jan Beulich 提交于
    The unwinder fallback logic still had potential for falling through to
    the legacy stack trace code without printing an indication (at once
    serving as a separator) of this.
    
    Further, the stack pointer retrieval for the fallback should be as
    restrictive as possible (in order to avoid having the legacy stack
    tracer try to access invalid memory). The patch tightens that, but
    this could certainly be further improved.
    
    Also making the call_trace command line option now conditional upon
    CONFIG_STACK_UNWIND (as it's meaningless otherwise).
    Signed-off-by: NJan Beulich <jbeulich@novell.com>
    Signed-off-by: NAndi Kleen <ak@suse.de>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    ea424055
unwind.h 3.0 KB