perfetto: Don't emit category/event name for end events
Previously, we already didn't emit the category or event name for end events that were split off from complete events. In preparation to the switch to the client libary, stop emitting them for explicit end events, too. Trace processor will match the begin/end pairs and emit the matched begin event's category and name when converting to JSON. Also stop emitting names of nestable async events (categories are still required as they are included in event ID matching [1]). [1] https://cs.chromium.org/chromium/src/third_party/perfetto/src/trace_processor/importers/proto/track_event_parser.cc?bpv=0&bpt=1&l=394 Bug: 928738 Change-Id: I80810ac555355270297f09804343107bed2bbbdb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1983174Reviewed-by:Sami Kyöstilä <skyostil@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#728223}
Showing
Please register or sign in to comment