[metrics] Use blocking thread tid for monitor contention Since aosp/2488755 the monitor contention slice now has the tid of the blocking thread. Use that to generate the monitor contention metrics instead. Test: tools/diff_test_trace_processor.py out/android/trace_processor_shell --name-filter '.*monitor.*' Change-Id: I851d0defaa8a237548eb0358f8a2908947bf133d
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.