diff options
author | 2023-08-16 13:45:09 -0700 | |
---|---|---|
committer | 2023-08-16 13:51:38 -0700 | |
commit | 76d51b13cfc1fad02fb28f7d56690cde33b92ea1 (patch) | |
tree | 47ce36186a93f59cf2977d144f6bed44b37377ba /api/api.go | |
parent | 67a1c1a79e4f2373b57a5c4c7173bb383ef75066 (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