commit | 0f9a8bfe8ddb2486c2998baea8572b8bd1b10df0 | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@google.com> | Tue Jun 09 11:00:38 2020 +0100 |
committer | Sami Kyostila <skyostil@google.com> | Tue Jun 09 14:50:32 2020 +0000 |
tree | d931b597aa854c38198e7badd68b6907c8d72b4b | |
parent | a7e60fe18677bc3f1cc7466ab68fe35be481c557 [diff] |
tracing: Allow empty call to OnTraceData This change makes it legal for a TracingBackend to call OnTraceData with zero bytes to signal the end of trace data. This makes it easier to implement a trace consumer backend in scenarios where trace data and the EOF signal are delivered separately, i.e., when the backend knows there's no more data to come, it has already sent all the data to the consumer. Bug: 158460267 Change-Id: Ibb918845a0d64d7890a954ad8308d4e8c84e712a
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://docs.perfetto.dev or the /docs/ directory for documentation.