commit | 3c2697c1787343510ec8dfba3d000038696e1be9 | [log] [tgz] |
---|---|---|
author | Ryan Savitski <rsavitski@google.com> | Tue Apr 23 13:33:00 2024 +0100 |
committer | Ryan Savitski <rsavitski@google.com> | Tue Apr 23 13:33:00 2024 +0100 |
tree | b19fe0725b8e3dc08758d84246d9dc2f13c45605 | |
parent | 97793c6177f06815ff98f2c6a71f679f94af11ea [diff] |
ui: change "dead" task color to gray and render dead tasks from old kernels (<4.14) thread_state.state='X' is how we currently represent dead tasks, and that is rendered with a relatively loud indigo colour by the UI. The thread query currently drops 'x' (lowercase!), but that only covers very old traces on kernels <4.14. So there are two options: (a) hide 'X' for new traces as well. (b) render all dead states, but choose a less distracting colour. I went with option (b) since I think that knowing that a thread is done can be quite useful when looking at a process with many threads. Don't have a good way of hosting images, so here's an internal screenshot: https://screenshot.googleplex.com/BThdsYv4ZoBYFcT.png Change-Id: Iba06226812cd939b08e89105e27d296ea016390b
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.