[PATCH 0/3] rust_binder: error line numbers and failed_transaction_log
From: Alice Ryhl
Date: Wed Sep 30 2026 - 08:53:26 EST
When diagnosing Binder issues, it's useful to know what the most recent
failed transactionas are, so include a transaction log with this content
matching the C Binder transaction log.
While we're at it, improve the line number information emitted by Rust
Binder using #[track_caller].
Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
Alice Ryhl (3):
rust_binder: start debug_id at 1
rust_binder: track caller location in BinderError
rust_binder: add transaction_log and failed_transaction_log
drivers/android/binder/context.rs | 8 +-
drivers/android/binder/error.rs | 39 ++++++
drivers/android/binder/process.rs | 5 +-
drivers/android/binder/rust_binder_internal.h | 1 +
drivers/android/binder/rust_binder_main.rs | 26 +++-
drivers/android/binder/rust_binderfs.c | 19 +++
drivers/android/binder/thread.rs | 12 +-
drivers/android/binder/transaction.rs | 193 +++++++++++++++++++++++++-
8 files changed, 293 insertions(+), 10 deletions(-)
---
base-commit: 72d3fcf802c45d00b300f25b848a93c3a2bd7c7e
change-id: 20260930-binder-transaction-log-94989f47b142
Best regards,
--
Alice Ryhl <aliceryhl@xxxxxxxxxx>