- adb shell stop
- adb shell start //重启adb 数据会干净点
- adb shell //也试过在adb shell 外面dump system trace,但是同样的参数dump出来看不到如此详细,比如makeApplication的时长,线程执行被中断等
- atrace -z -b 40000 am wm view res ss gfx view hal bionic pm sched irq freq idle disk mmc sync workq binder_driver binder_lock pagecache memreclaim dalvik input -t 5 > /data/local/tmp/trace_output
- adb pull data/local/tmp/trace_output
- python systrace.py --from-file trace_output -o trace.htm