I am trying to use traceview to run some profiling against an android app. I wrapped the code I want to track with the following lines:
Debug.startMethodTracing("xxx");
He successfully created a trace file that I pulled from sdcard using the following command line:
./adb pull / sdcard / xxx.trace
However, when running traceview
:
./traceview/.../xxx.trace
The following error message appears:
Usage: java com.android.traceview.MainWindow [-r] trace -r regression only
I cannot understand this error message, and I did not find anything useful on Google.
Any help would be greatly appreciated.
Thanks!
source share