commit | 4eac82559b4f32fc702d87c1160e667f2299dd3c | [log] [tgz] |
---|---|---|
author | Mikhail Khokhlov <khokhlov@google.com> | Wed Aug 31 15:09:51 2022 +0100 |
committer | Mikhail Khokhlov <khokhlov@google.com> | Wed Aug 31 15:09:51 2022 +0100 |
tree | 05f7849f97fd2b4e3a6695e4e92efde8f6bdef62 | |
parent | 588af63a4d3c5d79ee0a683dcfce9cd68806d6a1 [diff] |
Only notify track event session observers about their own instance Currently track event session observers are shared between all track event data source instances. So when there are two track event data sources (in different namespaces), each observer will be notified twice. In Chrome, this breaks an assumption that there can be no concurrent tracing sessions. This CL makes session observers only be notified about the data source for which they were registered. Bug: b/214976389 Change-Id: I88824652d4272db54f961e663257593e9688c7b0
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.