commit | f99230ffd6181bf429962dc9f83623345ff51d35 | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@chromium.org> | Thu Oct 15 10:38:32 2020 +0000 |
committer | Sami Kyostila <skyostil@chromium.org> | Thu Oct 15 10:38:32 2020 +0000 |
tree | ce77dce93ed1c76023ab480ec5537798b2b3ca70 | |
parent | 50934bc677f224b23db0522f27d75cd0bf530e3f [diff] |
tracing: Implement system consumer backend This patch add a consumer backend for the client API, making it possible to record traces from a system tracing daemon. Note that on some systems only privileged apps will have read access to the system tracing service. For example on Android you should use the "perfetto" command line tool to record system-wide traces instead of the client API. Bug: 170126760 Change-Id: Ifb4ada4a13290030fb0f3029858fb4c6247c1c62
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.