构建 arm64 位 crash 工具
make target=ARM64
sudo make install
[https://crash-utility.github.io/extensions.html]:
-
下载 trace 源码
git clone [email protected]:fujitsu/crash-trace.git
-
将
trace.c
拷贝到extensions
目录下 -
编译
make arch=arm64 extensions
crash> extend <path-to>/<module>.so
crash> trace report