1. make binrpm-pkg
2. rpm -hiv kernel-xxx.rpm
3. cp vmlinux to host
4. crash vmlinux /proc/kcore
5. mod -s rxe_rdma
crash> mod -s rdma_rxe
MODULE NAME SIZE OBJECT FILE
ffffffffc0a101c0 rdma_rxe 126976 /lib/modules/4.18.0+/kernel/drivers/infiniband/sw/rxe/rdma_rxe.ko
6. crash> dis -l rxe_qp_from_init+0xa6
/root/rpmbuild/BUILD/kernel-4.18.0+/./arch/x86/include/asm/refcount.h: 52
0xffffffffc09fdec6 <rxe_qp_from_init+166>: lock incl 0x8(%rbx)
crash live debug
猜你喜欢
转载自blog.csdn.net/mounter625/article/details/82218187
今日推荐
周排行