[Sangfor-WANACC9.5.8 B]$ cat /proc/6971/stack
[
[
[
[
[
[
[
[Sangfor-WANACC9.5.8 B]$ nm /app/modules/sfvpn.ko | grep ioctrl_get_rt_flux
0000000000035c90 t ioctrl_get_rt_flux
[Sangfor-WANACC9.5.8 B]$ printf “%x\n” $((0x35c90 + 0x373))
36003
[Sangfor-WANACC9.5.8 B]$ addr2line -e /app/modules/sfvpn.ko 0x36003
/tmp/tmp.JDBugfRDy7/sfvpn-linux/../libsfvpn-dp/src/sfvpn-flux.c:215
arm需要使用交叉编译工具:
aarxxxxxxx-addr2line -e xxxx.ko 0x36003