[stdlib] Add an cpu_idle stdlib Add cpu_idle to show per core cpu idle state statistic. Test: tools/diff_test_trace_processor.py out/android/trace_processor_shell --name-filter '.*idle.*' Change-Id: I4724914ef9d1c10fb9412f51864e188226e9aa59 Signed-off-by: lukechang <lukechang@google.com>
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.