Fix bug in GC sched reporting. CPU states were not being included for the full duration of the GC. Test: ./tools/diff_test_trace_processor.py out/linux_clang_debug/trace_processor_shell --name-filter '.*garbage.*' Test: ./tools/diff_test_trace_processor.py out/linux_clang_debug/trace_processor_shell --name-filter '.*android_boot.*' Test: Compared test results with manual inspection of sched slices in traces. Bug: 377977743 Change-Id: Ibdc226ee718ae3775ab09e60a8d964942d69c032
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.