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
1 file changed
tree: 00cc0be734f121343f0c8dfccfa034d85a8337af
  1. bazel/
  2. build_overrides/
  3. buildtools/
  4. debian/
  5. docs/
  6. examples/
  7. gn/
  8. include/
  9. infra/
  10. protos/
  11. src/
  12. test/
  13. tools/
  14. ui/
  15. .clang-format
  16. .clang-tidy
  17. .gitignore
  18. .gn
  19. .style.yapf
  20. Android.bp
  21. Android.bp.extras
  22. BUILD
  23. BUILD.extras
  24. BUILD.gn
  25. CHANGELOG
  26. codereview.settings
  27. heapprofd.rc
  28. LICENSE
  29. METADATA
  30. MODULE_LICENSE_APACHE2
  31. OWNERS
  32. perfetto.rc
  33. PRESUBMIT.py
  34. README.chromium
  35. README.md
  36. TEST_MAPPING
  37. traced_perf.rc
  38. WORKSPACE
README.md

Perfetto - System profiling, app tracing and trace analysis

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.