summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Pablo Gamito <pablogamito@google.com> 2024-07-10 00:20:14 +0000
committer Pablo Gamito <pablogamito@google.com> 2024-07-11 13:47:38 +0000
commit8a5554d79be2976f43a8ccf88d93157ac749d038 (patch)
tree6468c5ad95b83329c33a2e7b5b61c87894454516 /api/api_test.go
parent7657dd77c0c9b30397e6da6785f1be2562039585 (diff)
Remove requirement to get registered group on tracing start and stop callbacks.
We get these callbacks on all processes with the same config. So in some processes the group will simply never be registered leading to an exception. We can't simply ignore groups that are not registered in the processes by the time we start tracing because the registration might happen after the trace instance starts. In which case we still want to track the config for when this group ends up being registered. The solution here is to use String identifiers instead of the group object as keys where required. Flag: android.tracing.perfetto_protolog_tracing Test: Run Perfetto AOT config to collect a trace Change-Id: I3c85fed402a1c9eefc55f82d0cef0705190d4afe
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions