commit | 9d48adc199ee8c8a292483189ec82065c378e949 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@google.com> | Thu Oct 24 16:57:15 2019 +0100 |
committer | Eric Seckler <eseckler@google.com> | Thu Oct 24 16:57:15 2019 +0100 |
tree | 7a6b991171bdccf9c9f53b76df0c50e69d1fdaa7 | |
parent | d4a217b1f81e0a2d5f49fa2fada7f995be779014 [diff] |
processor: Update thread names using utids for TrackEvent traces Chrome renderer processes don't know their "true" tids on some platforms. Instead, they each write tids that start at 1 - which means, the same tids are used in multiple different processes at the same time. Because we were updating thread names only using the tid, some threads never got names. Instead, we now use the utid for the pid/tid pairs to identify the right threads and update their names. Bug: 130786981 Change-Id: I0c695aa5e9c67ad23d7231a38b354a45627f636b
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.