commit | 2276d286905c899bb300bc19f56ebbbd199afbae | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Fri Apr 14 11:54:37 2023 +0100 |
committer | Primiano Tucci <primiano@google.com> | Fri Apr 14 11:54:37 2023 +0100 |
tree | a018b2f44555ff01c26a23bd3fd20b59f915b95a | |
parent | 0eaad46a44e9ff88f034a199a7de1e814607cf3e [diff] |
Reland: "traced: Add TraceWriter stats"" This reverts commit 2e957872bbcb9933e56bf33615bb14225ae6a2a5. New change: fixed an integration tests that was statically allocating a 1K buffer on the stack and reading into that. That caused a truncated trace that failed to parse because of the extra data being appended in the new tracewriter stats. Original CL description: > Keep track of chunk usage in TraceBuffer, > broken down by sequence id (i.e. by writer). > This is to later debug poor usage of the trace > buffer, which affects some long traces (see bug). Bug: b/277210441 Test: perfetto_unittests --gtest_filter=TracingServiceImplTest.TraceWriterStats Change-Id: Id2a115a23d5cbbdb55ef2cc5426bd9cc5b978d83
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.