Add android garbage collection stats metric. A collection of stats relevant to tuning garbage collection on device. Test: ./tools/diff_test_trace_processor.py out/linux_clang_debug/trace_processor_shell --name-filter '.*garbage.*' Test: Manually inspected test trace to double check reported values. Change-Id: I40091fa94c4186a55490b9232aa64c8149815012
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.