summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2023-08-16 13:45:09 -0700
committer Yurii Zubrytskyi <zyy@google.com> 2023-08-16 13:51:38 -0700
commit76d51b13cfc1fad02fb28f7d56690cde33b92ea1 (patch)
tree47ce36186a93f59cf2977d144f6bed44b37377ba /api/api.go
parent67a1c1a79e4f2373b57a5c4c7173bb383ef75066 (diff)
[aapt2] Fix and optimize tracing
- Make it log the tags for both begin and end events, otherwise visualizations can't calculate the duration - Wrap the whole file in a JSON array to make Perfetto open it - Switch the whole thing off when not enabled, don't waste cycles on adding events. Bug: 294025081 Test: manual tracing run Change-Id: I42d0fa5518190783c4d58a644f783ac6e7dcd1a3
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions