commit | 873fedbd47ff44616d155bc1199063a335c530ad | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Thu Sep 19 15:37:56 2024 +0100 |
committer | Alessio Balsini <balsini@google.com> | Thu Sep 19 16:38:43 2024 +0100 |
tree | 41eaee23a1954c3f2a1a37dfca9b958a63679689 | |
parent | 9170899ab284db894f14439e561f02f83a04d88e [diff] |
SIGINT gracefully stops record_android_trace Currently the only way to gracefully stop record_android_trace is through the CTRL+C key combination. This change extends record_android_trace to be gracefully interruptible also as a result of a direct SIGINT interrupt, which makes this utility script usable by other scripts. Test: kill -9 record_android_trace Change-Id: I77edada9292b8d431459ec689f267a7926c52172 Signed-off-by: Alessio Balsini <balsini@google.com>
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.