shared_lib: Improve PerfettoDsRegister() * Add ability to specify buffer exhausted policy. * Change name of PerfettoDsCallbacks to PerfettoDsParams (now it's possible to specify different params). * Use heap buffer to build descriptor. This is an API breaking change (not an ABI breaking change). Bug: 237053857 Change-Id: I8dc55684c344bf375402e2520066994ad3401266
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.