commit | 67287c8f0b4e1fa72b8382d791f20687eaa66c3f | [log] [tgz] |
---|---|---|
author | Haiyang Pan <hypan@google.com> | Fri Oct 10 17:54:05 2025 |
committer | Catapult LUCI CQ <catapult-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 10 22:17:24 2025 |
tree | 7996da76f3af4b2e3082e8bdcc5eb91a237133cc | |
parent | 0a069d4549a6619fed11ef5e5f7731e69aa4f8a9 [diff] |
Optimize the StopRecording logic in logcat monotor. The code used to send a stop nonce to logcat, then copied the tmp record file to the output file. However when the device is not responding or crashed, the script will error out at the step of sending the stop nonce due to timeout, and lead to an empty output file, due to the tmp record file not being copied. This CL fixes this issue by wrapping the "stop nonce" step under a try except clause to ensure the file copying is done properly. Bug: chromium:425720132 Change-Id: Iec1364a1252a28d9c2d4afa096eb728df9348773 Reviewed-on: https://chromium-review.googlesource.com/c/catapult/+/7029919 Reviewed-by: Ben Pastene <bpastene@chromium.org> Commit-Queue: Haiyang Pan <hypan@google.com>
Catapult is the home for several performance tools that span from gathering, displaying and analyzing performance data. This includes:
These tools were created by Chromium developers for performance analysis, testing, and monitoring of Chrome, but they can also be used for analyzing and monitoring websites, and eventually Android apps.
Please see our contributor's guide