commit | f59110d7b8a7fcc56d1f58849897b807ba249a1a | [log] [tgz] |
---|---|---|
author | Mikhail Khokhlov <khokhlov@google.com> | Fri May 10 16:29:24 2024 +0100 |
committer | Mikhail Khokhlov <khokhlov@google.com> | Fri May 10 16:29:24 2024 +0100 |
tree | 4d96567129256d873d0e7bafc8dc39ff54ea691b | |
parent | 51a1471bbd6bbf2fbeb69ad71cf65543f2bbf961 [diff] |
Use correct thread ids in Track::ThreadScoped() Perfetto embedders (e.g. Chromium) can provide their own platforms for stuff like determining thread ids. ThreadTrack::Current() correctly calls into tracing muxer methods to get thread id from the platform. Track::ThreadScoped() should do the same to avoid inconsistencies. Bug: 339835280 Change-Id: I43c8b2cdd5666a690451b68b1b4f01234242d488
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.