public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] rust_binder: add and wire Binder tracepoints
@ 2026-03-07  5:41 Mohamad Alsadhan
  2026-03-07  5:41 ` [PATCH 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-07  5:41 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>
---
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        |  28 +++--
 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             | 119 ++++++++++++++++++-
 drivers/android/binder/transaction.rs       |   2 +
 9 files changed, 344 insertions(+), 22 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-07 12:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-07  5:41 [PATCH 0/3] rust_binder: add and wire Binder tracepoints Mohamad Alsadhan
2026-03-07  5:41 ` [PATCH 1/3] rust_binder: remove "rust_" prefix from tracepoints Mohamad Alsadhan
2026-03-07  5:41 ` [PATCH 2/3] rust_binder: add Rust binder tracepoints Mohamad Alsadhan
2026-03-07 12:03   ` kernel test robot
2026-03-07 12:07   ` Miguel Ojeda
2026-03-07  5:41 ` [PATCH 3/3] rust_binder: add in the new tracepoint calls Mohamad Alsadhan

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