commit | 29ff84440ef0f08615349ff1f87678c37a9e03a3 | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@google.com> | Tue Nov 26 16:05:13 2019 +0000 |
committer | Sami Kyostila <skyostil@google.com> | Tue Nov 26 16:05:13 2019 +0000 |
tree | 0af70bde4f454b0e53074d9711b2587cbb9234ed | |
parent | e524732d0668808636b5ccd33dc63c8798241f87 [diff] |
TrackEvent: Add support for debug annotations This patch makes it possible to attach one or two debug annotations to a trace event, e.g.: TRACE_EVENT_BEGIN("cat", "Name", "color", 0xffaaccee, "density", .5f); The user can also specify a custom debug annotation object that will get serialized to the DebugAnnotation proto through a callback. This is intended for implementing the legacy TracedValue system on top of TrackEvent. Bug: 132678367 Change-Id: I769c2eb346d3bdfac50158a333481f83962bfb6b
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.