commit | f91b296131ecaf842a1e7d6f2008c4b82c4c1603 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue May 18 22:55:49 2021 +0100 |
committer | Primiano Tucci <primiano@google.com> | Tue May 18 21:56:55 2021 +0000 |
tree | 90253486e8fb38e371f0cedd653363ef6df3cd63 | |
parent | 6f843dc997766d2271fec1df543c1a321bd374f1 [diff] |
perfetto_cmd: print warning when not attached to a TTY When the user invokes perfetto with 'adb shell perfetto' print a warning that explains that CTRL-C won't work. #fixit Test: manual: adb shell perfetto -c :test -o /dev/null # shows warning adb shell -t perfetto -c :test -o /dev/null # no warning adb shell; perfetto -c :test -o /dev/null # no warning Bug: 180129616 Bug: 162589153 Change-Id: I15d71db7e66b944a9cd3cd0a48588366d4023712
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.