commit | 0a72a6db31de82243d400fe6b2bdf5d2aa81c6c2 | [log] [tgz] |
---|---|---|
author | Nicolo' Mazzucato <nicomazz@google.com> | Tue Jul 04 12:46:00 2023 +0000 |
committer | Nicolo' Mazzucato <nicomazz@google.com> | Tue Jul 04 12:50:16 2023 +0000 |
tree | c187879bbd9d30a1085e1c3dde52032b52f8b2d0 | |
parent | 1748418e248275c38693d485d2df9bc18687673b [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