commit | 0549de42ddd764d47d27b214e2947353255e10c0 | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Mon Nov 08 17:06:39 2021 -0800 |
committer | Adam Bookatz <bookatz@google.com> | Wed Nov 10 12:11:09 2021 -0800 |
tree | 8fde6f037a5a928a2118769c3495e2125c891944 | |
parent | 1cf65eb5e9200acf8b6d37d846e8354e8d392958 [diff] |
Multiuser perfetto metric: omni-switch Time user switching based on the UI entrypoint. Allow multiple different types of entry (QuickSettings, Settings, adb). Also increases the number of processes listed for the cpu metric. To locally compile for testing: tools/gen_all out/linux; tools/ninja -C out/linux Test: out/linux/trace_processor_shell --run-metrics android_multiuser tracefile Test: tools/diff_test_trace_processor.py out/linux/trace_processor_shell Bug: 192001071 Change-Id: Ifdfc2939b1980f7c14e9c01610b127ab9701a9e6
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.