1. simpleperf 源码路径:
source/vnd/system/extras/simpleperf
2. 使用方法
/sdcard # simpleperf record rmmod monitor_hang //此目录下有读写权限才行 simpleperf I cmd_record.cpp:760] Samples recorded: 155. Samples lost: 0. /sdcard # simpleperf report //可以看到各个阶段执行时间
本文参考链接:https://www.cnblogs.com/hellokitty2/p/16212637.html