| commit | f342257e38b318456d75aeec6f063ed61a5ff415 | [log] [tgz] |
|---|---|---|
| author | Primiano Tucci <primiano@google.com> | Tue Aug 22 17:40:13 2023 +0200 |
| committer | Primiano Tucci <primiano@google.com> | Tue Aug 22 17:40:13 2023 +0200 |
| tree | e4bdbb2f00d8bee15c45d9bc87b73befa14876fa | |
| parent | 8a029a51591441b25214a95cdab08feb09c19f22 [diff] |
service: Add buffer.clear_before_clone Add a flag that causes the buffer to be cleared prior to the Flush() that precedes a clone. This is intended to be used together with transfer_on_clone, so that if a data source takes too long to write data and goes beyond the flush timeout, we don't mix old data and new data on the next clone. See go/clone-for-winscope Test: perfetto_unittests --gtest_filter=TracingServiceImplTest.ClearBeforeClone Bug: 293429094 Change-Id: I38fb847436c9ee3fbd6e7e6e0ee3ef00ba7de821
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.