Android adb shell抓取trace(二)

Android adb shell抓取trace(二)

https://blog.csdn.net/zhangphil/article/details/131249820 基础上,丰富抓取trace的内容和数据,扩展原先的命令内容。

(1)adb shell抓取:

复制代码
adb shell perfetto -o /data/misc/perfetto-traces/trace_file.perfetto-trace -t 20s rs sched binder_lock freq disk idle am wm sm gfx pm view binder_driver hal database dalvik video power camera memreclaim input res memory

(2)拉取抓取的trace文件到桌面:

复制代码
adb pull /data/misc/perfetto-traces/trace_file.perfetto-trace C:\Users\fei.zhang\Desktop\
相关推荐
limuyang215 小时前
PDF Viewer KMP(基于 chrome 的 PDFium 内核)
android·kotlin
心平气和量大福大18 小时前
android-控件-搜索框SearchView
android·gitee
2601_9621771318 小时前
【MySQL篇】聚合查询,联合查询
android·java·mysql
壮哥_icon18 小时前
【Android】批量 VectorDrawable 动态分别修改 fillColor 和 strokeColor 的踩坑与终极解决方案
android
齐天qaq20 小时前
Android 系统 APK 分区与权限
android
心平气和量大福大20 小时前
android-控件-多选框CheckBox
android·gitee
pengyu1 天前
【Kotlin 协程修仙录 · 大乘境 · 初阶】 | 跳出三界:协程在 KMP 与后端开发中的跨平台之道
android·kotlin
XiaoLeisj1 天前
Android Memory Profiler:堆内存指标、内存抖动与泄漏定位
android·性能优化·内存抖动·内存泄露·memory profiler
未来猫咪花1 天前
Everything is ViewModel:让状态管理回到对象世界
android·flutter·ios