commit | a6953b9bf4e6a71244c07316290da3b3a6b4ccba | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Tue Dec 07 17:00:01 2021 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Tue Dec 07 17:00:01 2021 +0000 |
tree | 13a83f448861e13b76fbbaf0a4243c675d916661 | |
parent | 39062645f97f9fc094db0e51a712c713a7f6f038 [diff] |
metric: overhaul process associations in startup metric Until this point we were trying to use process creation times to figure out which process to associate with a startup. This can end up with highly misleading process associations in some cases (e.g. with UID_SYSTEM packages) Instead use bindApplication, activityStart and activityResume to guide process association. This may not be totally consistent with past behaviour for "failed startup processes" but should be much more accurate in most cases. Change-Id: I17043f93fdf4b8382c2b63d57c9a3c4d482f5a66 Bug: 190219056
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.