uber/nanoscope

Control trace start and end

dodola opened this issue · 2 comments

request a feature to get a small range trace ,like begin MainActivity.onCreate to MainActivity.onResume all method traces.

This is possible today, though the workflow is a bit clunky:

  1. Use the Java API to start and stop tracing in code.
  2. adb pull the file off the device.
  3. Open the file in the Nanoscope Visualizer with nanoscope open <trace-file>.

Let me know if you have any suggestions to improve this workflow.

Oh Thank you. It is very useful