commit | 770886afa92e09db161052ed7b0bcf3f2361e870 | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Fri Nov 16 17:40:21 2018 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Mon Nov 19 21:55:15 2018 +0000 |
tree | 3303f08127344565cf35d54e4331abac08433395 | |
parent | f3e5b07b53e803fccf37921a60ea29ab9b9dcacb [diff] |
perfetto: handle mock traces setting data about tid and tgid == 0 Legacy traces with fake data don't treat pid (i.e. both tid and tgid) = 0 as anything special. Instead they use it as any other pid. Support these sort of traces by ensuring that we don't treat them any specially (apart from the mapping from tid/tgid 0 -> utid/upid 0). Bug: 118826940 Change-Id: I7f136ac73a16b65cb69969ed55b4bc06507b2f90
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.