- 1.安装相关程序:
- $sudo apt-get install bootchart
- $sudo apt-get install pybootchartgui
- 2.重新编译你的android代码,如下:
- touch system/core/init/init.c
- make INIT_BOOTCHART = true
- 3.update your image to board
- 4.执行 adb shell 'echo 120 > /data/bootchart-start'
- 5.重启机器,Android 将在/data/bootchart/ 生成5个文件
- 6.到你的代码目录/system/core/init 执行 grab-bootchart.sh
- $./grab-bootchart.sh 然后将在此目录下生成 bootchart.tgz,
- 7.执行 bootchart bootchart.tgz
Android bootchart 使用心得
最新推荐文章于 2024-05-08 10:23:27 发布
1.安装相关程序:$sudo apt-get install bootchart $sudo apt-get install pybootchartgui 2.重新编译你的android代码,如下:touch system/core/init/init.cmake INIT_BOOTCHART = true 3.update your image to board
摘要由CSDN通过智能技术生成