commit | 260b9fe281b818e2edfc24973ca9a5a673175598 | [log] [tgz] |
---|---|---|
author | Peng Jiang <pengjiang@meta.com> | Mon Jun 24 13:50:02 2024 +0100 |
committer | Peng Jiang <pengjiang@meta.com> | Mon Jun 24 13:50:02 2024 +0100 |
tree | ab40b6672d1c5df6e4c35b740d74be29f7a9b2db | |
parent | cf48f4ecd2164075b0074c9c4d0c1cd94750de1f [diff] |
Return trace file after successful trace completion This PR changes the start_trace function to return the trace file after it has been successfully retrieved. This provides an option to customize the retrieved trace file, such as sharing or automatically uploading the trace file. Test: run the script: ./gen_amalgamated_python_tools to generate the record_android_trace run ./tools/record_android_trace 10s sched with an Android device trace, all works as expected Change-Id: I789f20704f199d480aac7ef00a3a04ea6a51d8e8
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.