debug tips
Q: What’s the code i40e_xmit_frame_ring+0x5667/0x5d50 related A: Please install debuginfo for the kernel that was running and provide the following output
1 2 # gdb /usr/lib/debug/usr/lib/modules/<yourkernel>/kernel/drivers/net/ethernet/intel/i40e/i40e.ko.debug (gdb) list *i40e_xmit_frame_ring+0x5667 But for buildin functions which don’t have .ko.debug file, just use vmlinux file, e.g.
1 2 # gdb /usr/lib/debug/lib/modules/<yourkernel>/vmlinux (gdb) list *icmp_rcv+0x193/0x3b0 Q: how to print pr_debug info A: Usually you should able to print it when DEBUG defined.