显示相关的帧率卡顿问题均可以使用以下systrace脚本跟踪
adb root && adb remount
adb shell setenforce 0
adb push E:Downloadperfetto-run.sh /system/bin/perfetto-run.sh
adb shell chmod 777 /system/bin/perfetto-run.sh
adb shell ls -l /system/bin/perfetto-run.sh
adb shell “https://blog.csdn.net/Yxx8066/article/details/system/bin/perfetto-run.sh”
adb pull data/misc/perfetto-traces/trace E:111
脚本如下
其中duration_ms为修改的抓取时间

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/bian-cheng-ri-ji/50924.html