commit | 8e3e1bbd646e3620d07ae7107aad6bce26ee072d | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Jun 01 20:05:38 2021 +0100 |
committer | Primiano Tucci <primiano@google.com> | Tue Jun 01 19:07:20 2021 +0000 |
tree | 1fd0a542315cb699033f93f893b76dd63ad0fc75 | |
parent | 71719e601946d80f52445f4ca232f3b1b4d652f3 [diff] |
record_android_trace: allow temporary ADB failures In some occasions the ADB connection can be lost while waiting for the background process. This can be either the user accidentally pulling the cable or some service restarting ADB. Allow temporary ADB failures up to 10 x 2s = 20 seconds. Test: manual: start recording a trace; pull the USB cable; replug it; CTRL-C; check the trace file Change-Id: I22045ed1cd82f9577608a90ab6301b08a9dd533a
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.