commit | 1f614627b56742b7e57d00b7022babee94c480bf | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Wed Sep 23 21:35:39 2020 +0200 |
committer | Primiano Tucci <primiano@google.com> | Wed Sep 23 21:35:39 2020 +0200 |
tree | 00cc0be734f121343f0c8dfccfa034d85a8337af | |
parent | 61c15b0ea08f9958fb7cbd2d16216aa7c7585a4e [diff] |
Ftrace: don't log errors in case of ENODEV ENODEV can be returned on read(trace_pipe_raw) if a CPU is offline. Unfortunately, in that case, the open() succeeds, only the read fails. This CL suppresses the error logging. In theory we could even close the CpuReader and avoid polling that CPU in future. However this is so rare (happens only on some cores of certain development boards) that is not worth the extra complexity. Bug: 169210648 Change-Id: I4cd4424b812b1c19f7aa1ae5add13f20f5376c6b
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.