public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] rust_binder: add and wire Binder tracepoints
@ 2026-03-08  1:24 Mohamad Alsadhan
  2026-03-08  1:24 ` [PATCH v2 1/3] rust_binder: remove "rust_" prefix from tracepoints Mohamad Alsadhan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mohamad Alsadhan @ 2026-03-08  1:24 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Arve Hjønnevåg, Todd Kjos,
	Christian Brauner, Carlos Llamas, Miguel Ojeda, Boqun Feng,
	Gary Guo, Björn Roy Baron, Benno Lossin, Andreas Hindborg,
	Trevor Gross, Danilo Krummrich
  Cc: Alice Ryhl, linux-kernel, rust-for-linux, Mohamad Alsadhan

This series introduces tracepoints for the Rust Binder implementation
and wires them into the relevant execution paths.

The first patch adjusts current naming to match the existing userspace
expectations. The second patch adds many tracepoints that exist in
C binder but not in Rust. The final patch wires the tracepoints into
the corresponding Binder execution paths.

Link: https://github.com/Rust-for-Linux/linux/issues/1226
Suggested-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Mohamad Alsadhan <mo@sdhn.cc>
---
Changes in v2:
- fix broken formatting artifacts (rustfmtcheck passes now)
- Link to v1: https://lore.kernel.org/r/20260307-rust-binder-trace-v1-0-5e03283c6e53@sdhn.cc

---
Mohamad Alsadhan (3):
      rust_binder: remove "rust_" prefix from tracepoints
      rust_binder: add Rust binder tracepoints
      rust_binder: add in the new tracepoint calls

 drivers/android/binder/allocation.rs        |   1 +
 drivers/android/binder/page_range.rs        |  17 +++
 drivers/android/binder/process.rs           |   7 +-
 drivers/android/binder/rust_binder.h        |   5 +
 drivers/android/binder/rust_binder_events.h | 176 +++++++++++++++++++++++++++-
 drivers/android/binder/rust_binder_main.rs  |   1 +
 drivers/android/binder/thread.rs            |  15 ++-
 drivers/android/binder/trace.rs             | 117 +++++++++++++++++-
 drivers/android/binder/transaction.rs       |   2 +
 9 files changed, 329 insertions(+), 12 deletions(-)
---
base-commit: 11439c4635edd669ae435eec308f4ab8a0804808
change-id: 20260307-rust-binder-trace-c3eb49918deb

Best regards,
-- 
Mohamad Alsadhan <mo@sdhn.cc>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-16 14:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-08  1:24 [PATCH v2 0/3] rust_binder: add and wire Binder tracepoints Mohamad Alsadhan
2026-03-08  1:24 ` [PATCH v2 1/3] rust_binder: remove "rust_" prefix from tracepoints Mohamad Alsadhan
2026-03-16 14:10   ` Alice Ryhl
2026-03-08  1:24 ` [PATCH v2 2/3] rust_binder: add Rust binder tracepoints Mohamad Alsadhan
2026-03-08  1:24 ` [PATCH v2 3/3] rust_binder: add in the new tracepoint calls Mohamad Alsadhan
2026-03-16 14:12   ` Alice Ryhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox