commit | 11d94e1fedbe1670e8582f1e0d54581a9e5e1fef | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Aug 02 17:44:33 2022 +0100 |
committer | Primiano Tucci <primiano@google.com> | Tue Aug 02 17:44:33 2022 +0100 |
tree | 68a60fddefb8e2f5bf9aa378bd2b7cb77f8962fc | |
parent | 99b80d81d606c2f954f04761f3d33a1ef38a1448 [diff] |
tools: python amalgamation for tools/tracebox etc Before this change: the business logic for tools/{tracebox, record_android_trace, ...} was in the file itself and the manifest was replaced in-place when invoking tools/roll-prebuilts. This still made it impossible to share code between tools without copy/pasting. With this change: - Move the business logic to python/xxx - Add an amalgamator that follows includes. Only the form 'from perfetto.xxx import yyy' is supported. - Keep the amalgamated files in tools/traceconv No code sharing / major refactorings are made by this change. They can happen as a follow-up though Change-Id: I7420387881e6ef1e109abae6380dde7c06ac1b27
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.