add auto_user_switch metric; the metric measures a time diff between start user and carlauncher fully drawn events; Bug: 155434907 Test: tools/diff_test_trace_processor.py out/linux/trace_processor_shell --name-filter=".*multiuser.*" Change-Id: I0dcdcc8a37b4019d6d145055b8bf8e5f746c6cc8
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.