commit | 53ca60b7a7046b170856d220befffd1039160850 | [log] [tgz] |
---|---|---|
author | Ryan Savitski <rsavitski@google.com> | Mon Jun 03 13:04:40 2019 +0100 |
committer | Ryan Savitski <rsavitski@google.com> | Thu Jun 06 23:35:24 2019 +0100 |
tree | 39d0371c9878ee1d35afe3c036e5347d36ece4f4 | |
parent | 426c019ee1dd09135cb1895fdcbc03dd3b5a23b8 [diff] |
userdebug: support perfetto traces as a section in incident reports This set of patches adds a way for the perfetto command line client to save a trace to a hardcoded location, /data/misc/perfetto-traces/incident-trace, and call into incidentd to start a report, which will include said trace in a new section. This is not a long-term solution, and is structured to minimize changes to perfetto and incidentd. The latter is currently architected in a way where it can only pull pre-defined information out of the system, so we're resorting to persisting the intermediate results in a hardcoded location. This will introduce at most two more linked files at the same time. Bug: 130543265 Tested: manually on blueline-userdebug Change-Id: Ie9e2f17cee24706c93d63b88ffd3ded4628bac4e
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.