commit | ddf91655d4604bc3ee3c890df2bb845fe1b5b1e2 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Fri May 21 22:59:41 2021 +0100 |
committer | Primiano Tucci <primiano@google.com> | Fri May 21 22:05:26 2021 +0000 |
tree | d9433ca24604d346661094dc704ca1b1efa477bb | |
parent | 35e311e265f868ee6843108d4e96e54ddd8bdd19 [diff] |
record_android_trace: fix -a* and uprev tracebox. This CL makes the tools/record_android_trace compatible with older (pre-P) versions of Android. - Fix the escaping of -a*. Even when passing it correctly on the host (e.g. -a '*') the * would still be escaped by the shell on the device (the quotes are stripped by the host bash and we don't see them in the script). - Improve examples in --help. - Uprev tracebox to pick-up aosp/1714352. Test: manual: tools/record_android_trace -b 256mb -t 60s sched gfx view irq adb camera -a* --sideload Bug: 158465724 Change-Id: I32393702d6dc7f5ef1a7d558ddb03c50d61c3ec3
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.