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: Idc5277a998d869619ce6530540662bbe7a80c806Perfetto 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.