perfetto: Switch to TrackEvent fields for phase & name
Write TrackEvent's type and name_iid fields instead of LegacyEvent's where possible. Also avoid creating the LegacyEvent if we don't need to set any of its fields. This should save us some trace size in the (probably common) case where we don't need to set any special LegacyEvent flags, e.g. for END events of former COMPLETE events. Also removes a few remaining remnants of emitting complete events. Bug: 1029510, 1029465 Change-Id: If544f5e2dff97660ba7523605d20d09e29b26da3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1944393 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by:Stephen Nusko <nuskos@chromium.org> Cr-Commit-Position: refs/heads/master@{#720479}
Showing
Please register or sign in to comment