commit | ba9695b0aa980c50b65a1ad4ca1a29483b4d8ebb | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Mon Nov 12 15:24:18 2018 +0000 |
committer | Lalit Maganti <lalitm@google.com> | Mon Nov 12 15:24:18 2018 +0000 |
tree | 5c737d374f355d9493e8b0f446c112eb6674bec3 | |
parent | 1b3b271e7a17b92b82a59f8bd673be03a6501b81 [diff] |
traced_probes: capture stderr from atrace This changes adds the plumbing to capture the output of atrace's stderr. It does this by creating a pipe, changing the fd of atrace's stderr to point to this pipe and then reading the data from this pipe on the parent process. Currently, nothing is done with this data but we will eventually define an error packet and surface this info in the trace. Bug: 118760951 Change-Id: I41196ed468d70440a76f59ad08382f2079e66ce9
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.