[stdlib] Add monitor contention helper functions Parsed all the monitor contention slices into two tables: 1. monitor_contention: Contains the raw parsed information with an additional column |binder_reply_id| for correlating contention to binder txns 2. monitor_contention_chain: Contains #1 and an additional column |parent_id| to represent the graph of contentions In addition, exposed useful ANDROID_EXTRACT_MONITOR_CONTENTION_* helper functions for extracting individual columns from a slice. Test: tools/diff_test_trace_processor.py out/android/trace_processor_shell Change-Id: I75f760d3a41887ee0bc90606c7cc064eff72b505
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.