]> git.ipfire.org Git - thirdparty/linux.git/commit
rust_binder: add ioctl/read/write done tracepoints
authorMohamad Alsadhan <mo@sdhn.cc>
Tue, 17 Mar 2026 14:49:43 +0000 (17:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2026 10:18:22 +0000 (12:18 +0200)
commitbe3953bb2655fe4571a1b2cd1705bcc5a241a58e
treeb4d9980bd9069166641f78c825fc9e5cd7d7c70a
parente3007a92332d15b085c5d1157ffeea26f03f0aa6
rust_binder: add ioctl/read/write done tracepoints

Add Rust Binder tracepoints declarations for `ioctl_done`,
`read_done` and `write_done`.

Additionally, wire in the new tracepoints into the corresponding
Binder call sites.

Note that the new tracepoints report final errno-style return values,
matching the existing C model for operation completion.

Signed-off-by: Mohamad Alsadhan <mo@sdhn.cc>
Link: https://patch.msgid.link/20260317-rust-binder-trace-v3-2-6fae4fbcf637@sdhn.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder/process.rs
drivers/android/binder/rust_binder_events.h
drivers/android/binder/thread.rs
drivers/android/binder/trace.rs