commit | e8687b8e9ef9406cc35167a85cd0aef224acf45a | [log] [tgz] |
---|---|---|
author | Nancy Zhao <zhaon@google.com> | Mon Jul 15 16:12:09 2024 +1000 |
committer | Nancy Zhao <zhaon@google.com> | Mon Aug 05 01:47:28 2024 +0000 |
tree | 1cec92b2b170bace337945aab3dbc438b680d1ff | |
parent | 892a6b4a75eda09ca4c9bf708cf4476cacb7e2f5 [diff] |
trace_processor: Add cpuidle state residences Introduce cpuidle states cpu_counter_tracks. Counter tracks are named cpuidle.{state}, with the state name determined by /sys/devices/system/cpu/cpu*/cpuidle/state*/name. Bug: 337135369 Test: build trace_processor locally, run a trace with `cpuidle_period_ms` enabled and check counters/cpu_counter_tracks Test: diff tests Change-Id: Ia12f5578d6a754e6ebe7d4fea1d70ab56fddb07a
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.