commit | 211056cec377eebd517cfcd58870c5375eaac778 | [log] [tgz] |
---|---|---|
author | Peng Jiang <pengjiang@meta.com> | Thu Jun 20 10:03:24 2024 +0100 |
committer | Peng Jiang <pengjiang@meta.com> | Thu Jun 20 10:03:24 2024 +0100 |
tree | 6b962101b6c2af474f9761bd48135f1e70a1f1e0 | |
parent | cc5ec3610347e39fe0f1c2168fd1b4fcd7e98ff1 [diff] |
Add option to control print log Two changes in this commit: 1. Add an option to control the print and priority in the logcat. 2. add stderr in the adb function to control the error output. The default value are the same as before, so there is no logic changes. Test: run the script: ./gen_amalgamated_python_tools to generate the record_android_trace and tested with an Android device trace, all works as expected and all log print as before. refactored the record android trace script The main goal of this refactor is to improve readability and provide a more modular structure that can be customized and incorporated into other scripts. There is no logic change. Test: Change-Id: I7229ba3accdaad614440e43ba809db7cbf6bd001 run the script: ./gen_amalgamated_python_tools to generate the record_android_trace and tested with an Android device trace, all works as expected.
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.