commit | 583bc03f543ae929b77725a90f80005de57037ee | [log] [tgz] |
---|---|---|
author | Aaron Vaage <vaage@google.com> | Wed May 01 13:41:10 2024 -0700 |
committer | Aaron Vaage <vaage@google.com> | Wed May 01 13:41:10 2024 -0700 |
tree | 132a807fbac369e48fa3a880a8c4ca40cea9cc76 | |
parent | 8bd021287ec56c48d699c374faa421da3a820157 [diff] |
Thread Redaction - Create synthetic threads In order to merge threads, new thread need to be created. These "fake" threads will be called synthetic threads. A synthetic thread needs to have a unique thread id, ensuring no collisions. Because each CPU will get its own thread, all scheduling events on a CPU will get moved into that CPU's thread. The range of PIDs are known (0 to 2 ^ 22), so all synth threads will be greater than 2 ^ 22. Bug: 336807771 Change-Id: I29242f5c24dc478e9582d2a1e5eba3959e1af462
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.