• Andi Kleen's avatar
    [PATCH] Merge stacktrace and show_trace · c0b766f1
    Andi Kleen authored
    This unifies the standard backtracer and the new stacktrace
    in memory backtracer. The standard one is converted to use callbacks
    and then reimplement stacktrace using new callbacks.
    
    The main advantage is that stacktrace can now use the new dwarf2 unwinder
    and avoid false positives in many cases.
    
    I kept it simple to make sure the standard backtracer stays reliable.
    
    Cc: mingo@elte.hu
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    c0b766f1
traps.c 30.3 KB