Register wm, am, cpuinfo, meminfo services with dumpsys priorities
Register services to be called as soon as a bug report is taken so relevant debug info can be captured. dumpsys --priority CRITICAL times: adb shell dumpsys --priority CRITICAL | grep "was the duration" 0.005s was the duration of dumpsys SurfaceFlinger 0.002s was the duration of dumpsys cpuinfo 0.003s was the duration of dumpsys activity 0.025s was the duration of dumpsys window Bug: 31774394 Test: adb shell setprop dumpstate.version "2.0-dev-priority-dumps" && \ adb bugreport ~/tmp_new.zip Test: adb shell dumpsys --priority CRITICAL Test: adb shell dumpsys --priority HIGH Test: adb shell dumpsys --priority NORMAL Change-Id: Ic656a05dd9a838f0b13043b4387dae7b5c691f7e
Loading
Please register or sign in to comment