• Russell King's avatar
    ARM: stacktrace: include exception PC value in stacktrace output · 07b40341
    Russell King authored
    When we unwind through an exception stack, include the saved PC value
    into the stack trace: this fills in an otherwise missed functions from
    the trace (as indicated below):
    
     [<c03f4424>] fec_enet_interrupt+0xa0/0xe8
     [<c0066c0c>] handle_irq_event_percpu+0x68/0x228
     [<c0066e18>] handle_irq_event+0x4c/0x6c
     [<c006a024>] handle_fasteoi_irq+0xac/0x198
     [<c00664b0>] generic_handle_irq+0x4c/0x60
     [<c000f014>] handle_IRQ+0x40/0x98
     [<c0008554>] gic_handle_irq+0x30/0x64
     [<c0012900>] __irq_svc+0x40/0x50
     [<c0029030>] __do_softirq+0xe0/0x2fc		<====
     [<c0029500>] irq_exit+0xb0/0x100
     [<c000f018>] handle_IRQ+0x44/0x98
     [<c0008554>] gic_handle_irq+0x30/0x64
     [<c0012900>] __irq_svc+0x40/0x50
     [<c000f34c>] arch_cpu_idle+0x30/0x38		<====
     [<c005e1e4>] cpu_startup_entry+0xac/0x214
     [<c066297c>] rest_init+0x68/0x80
     [<c08ccb10>] start_kernel+0x2fc/0x358
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    07b40341
stacktrace.c 4.16 KB