commit | bc714db12e6bba64325a0d52a4b2a5d8f8e16fc3 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Mon Nov 19 11:59:31 2018 +0100 |
committer | Primiano Tucci <primiano@google.com> | Mon Nov 19 11:59:31 2018 +0100 |
tree | a61396a86671ab6fb25ac41486bae223764ccf55 | |
parent | acedb7bc166fb805a037507253e935f3ea0fd0f9 [diff] |
UI: fix exceptions when only thread info is avilable Fixes a crash in the UI that happens when recording a trace with only sched_switch and no process association. There were two problems here: 1) The controller was partly lying on the thread info, providing a proc name == thread name, but NULL proc id. 2) The frontend should be robust to deal with thread info that don't have any matching process info. Test: http://localhost:3002#!/?s=2efeb0931cd8c808ca4f62a2b81d6cfdcd573d2e5e9b4462ddf3974bf36cc Change-Id: I4a3b6a4de8af80847f2d2f11d3d9e9aab481c784
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.