winscope

129 阅读1分钟

Winscope 启用命令

WindowManager 跟踪记录: 开启跟踪:adb shell cmd window tracing start 结束追踪:adb shell cmd window tracing stop 获取捕获文件:adb pull /data/misc/wmtrace/wm_trace.winscope wm_trace.winscope

SurfaceFlinger 跟踪:

开始跟踪:adb shell su root service call SurfaceFlinger 1025 i32 1 结束跟踪:adb shell su root service call SurfaceFlinger 1025 i32 0 获取捕获文件: adb pull /data/misc/wmtrace/layers_trace.winscope layers_trace.winscope