diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2026-03-06 11:28:46 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-31 15:13:56 +0200 |
| commit | 5326a18e3e640061ca4b65c1b732feaeace61c39 (patch) | |
| tree | 55daff5472f7310b70b607079588b6ac322a46f0 /rust/kernel/maple_tree.rs | |
| parent | a8a37957f2bc4e4af250390c57de6c8371cb5edd (diff) | |
rust_binder: introduce TransactionInfo
Rust Binder exposes information about transactions that are sent in
various ways: printing to the kernel log, tracepoints, files in
binderfs, and the upcoming netlink support. Currently all these
mechanisms use disparate ways of obtaining the same information, so
let's introduce a single Info struct that collects all the required
information in a single place, so that all of these different mechanisms
can operate in a more uniform way.
For now, the new info struct is only used to replace a few things:
* The BinderTransactionDataSg struct that is passed as an argument to
several methods is removed as the information is moved into the new
info struct and passed down that way.
* The oneway spam detection fields on Transaction and Allocation can be
removed, as the information can be returned to the caller via the
mutable info struct instead.
But several other uses of the info struct are planned in follow-up
patches.
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260306-transaction-info-v1-1-fda58fca558b@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/maple_tree.rs')
0 files changed, 0 insertions, 0 deletions
