commit | 129bdcfca84e2c9624fcce58683afdf42bb73e7f | [log] [tgz] |
---|---|---|
author | Alexander Timin <altimin@google.com> | Fri Apr 16 11:36:37 2021 +0000 |
committer | Alexander Timin <altimin@google.com> | Fri Apr 16 11:36:37 2021 +0000 |
tree | b0b537845492a3129a35f1e8eeaf5c776615578f | |
parent | 0ceebc58c923d5cd6c86a8dcb945cfc88eae0598 [diff] |
Inline typed message writing support. Allow nested typed messages to be written in a way similar to untyped ones without using lambda: TRACE_EVENT("c", "E", TrackEvent::kFieldName, value); Similar to TracedValue / untyped messages, Perfetto then will either write the value directly (if the field is a primitive one like int or string) or call value->WriteIntoTrace(TracedProto<T>) to invoke custom serialisation. R=eseckler@google.com,primiano@google.com,skyostil@google.com Bug: b/184558843 Change-Id: Idc5277a998d869619ce6530540662bbe7a80c806
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.