commit | c91a3c8b63d6f038984c0ddecc4164debb96f439 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Tue Nov 23 18:38:05 2021 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Thu Nov 25 17:26:10 2021 +0000 |
tree | cd2fc90c15742044dca3cc48a6633dc26b7f83cc | |
parent | ce7978455294bfde640d6d89158b6688deb01135 [diff] |
Begin moving away code from ReadBuffers() ReadBuffers() roughly does the following: 1. Checks preconditions 2. Optionally emits metadata trace packets 3. Reads the buffers into trace packets 4. Optionally emits more metadata trace packets 5. Writes into file/sends to IPC 6. Schedules more tasks This commits moves the code of step 1 to the callers: the preconditions that need to be checked are very different based on the caller. No functional change. Bug: 195145848 Change-Id: If93d8834bb900830b052f99f6b7823ff06e907a5
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.