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.