tracing: Implement DataSource::OnFlush This allows users of DataSource in the SDK to be notified and react to a flush request from the service. Bug: 273260336 Change-Id: I3c484aa996fbe452ea62ab7c25064276d7d0bbcb
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.