Use python3 for profiling scripts. Test: tools/java_heap_dump -n system_server Test: tools/heap_profile -n system_server Change-Id: Ibbe1c6816368fce6aba4721005790547de803ee0
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.