summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Zimuzo Ezeozue <zezeozue@google.com> 2024-10-30 18:31:03 +0000
committer Zimuzo Ezeozue <zezeozue@google.com> 2024-10-31 01:10:31 +0000
commit508e64d9fb013b07d6cb4df2ff6c2425acabebfa (patch)
tree4d728ba87c8b3329c05874dc873834f4849a68ce /libs/gui/BufferQueueThreadState.cpp
parent260a091b8812cc8f204e5d062225d8ec20cd7316 (diff)
Fix track event names with atrace via Perfetto
The perfettoTraceCounter method was broken because there was no way to emit the equivalent of NamedTracks (non registered tracks) for counters. This was fixed in aosp/3284918 with the introduction of a more general API to create TrackDescriptors. Fixed the counter track with this new method. Additionally, a new atrace_name was added to the track descriptor that doesn't guarantee the strings are fixed (for privacy reason). Utilized the atrace_name for both slice and counter tracks instead of the existing static_name. Bug: 303199244 Test: Manual Flag: android.os.perfetto_sdk_tracing Change-Id: I376dc2f661bf1df4968a2983a1bb0f7dbb018f5c
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions