summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2023-07-04 12:46:00 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2023-07-04 12:50:16 +0000
commit0a72a6db31de82243d400fe6b2bdf5d2aa81c6c2 (patch)
treec187879bbd9d30a1085e1c3dde52032b52f8b2d0 /api/api_test.go
parent1748418e248275c38693d485d2df9bc18687673b (diff)
Add traceAsync to TraceUtils
This utility is useful to trace coroutine code, as the beginning and the end of the event might end up in different threads. Note that stacks are maintained as long as the same trackName is used. When no stackName is used, "AsyncTraces" default is used. Test: New track appearing in a perfetto trace Bug: 289353932 Change-Id: I0fbf745d058e6a329d6b2229178a52af21e84033
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions