forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 490
Rust Binder tracepoints #1226
Copy link
Copy link
Open
Labels
easyExpected to be an easy issue to resolve.Expected to be an easy issue to resolve.good first issueGood for newcomersGood for newcomersmediumExpected to be an issue of medium difficulty to resolve.Expected to be an issue of medium difficulty to resolve.• driversRelated to the example drivers in `drivers/`.Related to the example drivers in `drivers/`.
Metadata
Metadata
Assignees
Labels
easyExpected to be an easy issue to resolve.Expected to be an easy issue to resolve.good first issueGood for newcomersGood for newcomersmediumExpected to be an issue of medium difficulty to resolve.Expected to be an issue of medium difficulty to resolve.• driversRelated to the example drivers in `drivers/`.Related to the example drivers in `drivers/`.
C Binder has many tracepoints. Here is one:
linux/drivers/android/binder_trace.h
Lines 22 to 35 in 11439c4
Rust Binder implements an equivalent one here:
linux/drivers/android/binder/rust_binder_events.h
Lines 18 to 31 in 11439c4
together with:
linux/drivers/android/binder/trace.rs
Lines 22 to 26 in 11439c4
However, many tracepoints are missing. To work on this issue, pick one of them and submit a patch adding it. Please compare with the implementation found here in Android's fork, but it may need adjustments when upstreamed.
Oh, also, the current tracepoints are called
rust_binder_*, but therust_prefix should be removed because the name is part of the uapi, and userspace expects tracepoints to have the old names.