commit | f4263b0618e068912f1be5cb38efb8577006bc5f | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Fri Sep 22 17:08:46 2023 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Mon Sep 25 09:02:11 2023 +0000 |
tree | dc524881db44521177e944e6d0da4e2d53c89c5a | |
parent | 9d486c78b398502f278cc8379087f034f8e5b532 [diff] |
binder_tracker: Support binder_command and binder_return The binder_transaction and binder_transaction_received are not enough to tell what's happening in case of failed transactions. The result is that we often have unterminated slices. This commit teaches the binder_tracker to parse binder_command and binder_return. When these new events are added (in addition to the existing binder_transaction and binder_transaction_received), the tracker is able to detect when a transaction fails and correctly terminate the slice. Implementation details in the comments. Bug: 295124679 Change-Id: I1305c019adc6494d7b0756085c5e61162feb568d
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.