HomeFreeBSD

Use the ARM unwinder with dtrace to extract the stack when asked. With this

Description

Use the ARM unwinder with dtrace to extract the stack when asked. With this
dtrace is able to display a stack trace similar to the one below.

dtrace -p 603 -n 'tcp:kernel::receive { stack(); }'

0     70                         :receive
            kernel`ip_input+0x140
            kernel`netisr_dispatch_src+0xb8
            kernel`ether_demux+0x1c4
            kernel`ether_nh_input+0x3a8
            kernel`netisr_dispatch_src+0xb8
            kernel`ether_input+0x60
            kernel`cpsw_intr_rx+0xac
            kernel`intr_event_execute_handlers+0x128
            kernel`ithread_loop+0xb4
            kernel`fork_exit+0x84
            kernel`swi_exit
            kernel`swi_exit

Tested by: gnn
Sponsored by: ABT Systems Ltd

Details

Provenance
andrewAuthored on
Parents
rS278996: Allow the ARM unwinder to work through modules. This will be used to add
Branches
Unknown
Tags
Unknown

Event Timeline