Add TRACE_EVENT and TRACE_EVENT_INSTANT for typed events.
While I was developing TRACE_EVENT_BEGIN and TRACE_EVENT_END these macros were added to the perfetto client library. Add mirrors of them in Chromium so we have access as well. TRACE_EVENT will allow people to conveniently emit trace events tied to a scope and TRACE_EVENT_INSTANT for things that have no duration. Change-Id: I474901a0ca53521b00199e32da5e21143d6781c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1935113 Commit-Queue: Stephen Nusko <nuskos@chromium.org> Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Reviewed-by:
Eric Seckler <eseckler@chromium.org> Auto-Submit: Stephen Nusko <nuskos@chromium.org> Cr-Commit-Position: refs/heads/master@{#719250}
Showing
Please register or sign in to comment