1、环境准备
a、gcc工具链
代码中:prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin(缺少gdb)
b、TRACE32安装
c、Qcom Parser
platform/vendor/qcom/opensource/tools/linux-ramdump-parser-v2
d、local srcipt
#run_ramdump.sh
#! /bin/bash
echo ""
echo "Start ramdump parser.."
local_path=$PWD
ramdump=$local_path/
vmlinux=$local_path/vmlinux
out=$local_path/out
gdb=~/tools/gnu-tools/aarch64-linux-android-4.9/bin/aarch64-linux-android-gdb
nm=~/tools/gnu-tools/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm
objdump=~/tools/gnu-too