uber / nanoscope

An extremely accurate Android method tracing tool.
Apache License 2.0
1.25k stars 68 forks source link

Added support for extended version of Nanoscope to the nanoscope tool. #67

Closed awelc closed 5 years ago

awelc commented 5 years ago

I have added support for Nanoscope sampling extensions to the nanoscope tool. It's backwards compatible (in that, without the extra option everything works as before). The "extended" invocations look as follows, with first one defaulting to perf_timer mode:

nanoscope start --package=com.example.app --ext

nanoscope start --package=com.example.app --ext=perf_timer

'nanoscope start --package=com.example.app --ext=cpu_timer`