• Vegard Nossum's avatar
    x86: don't save unreliable stack trace entries · 1650743c
    Vegard Nossum authored
    Currently, there is no way for print_stack_trace() to determine whether
    a given stack trace entry was deemed reliable or not, simply because
    save_stack_trace() does not record this information. (Perhaps needless
    to say, this makes the saved stack traces A LOT harder to read, and
    probably with no other benefits, since debugging features that use
    save_stack_trace() most likely also require frame pointers, etc.)
    
    This patch reverts to the old behaviour of only recording the reliable trace
    entries for saved stack traces.
    Signed-off-by: default avatarVegard Nossum <vegardno@ifi.uio.no>
    Acked-by: default avatarArjan van de Ven <arjan@linux.intel.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    1650743c
stacktrace.c 1.97 KB