[for-next][PATCH 0/5] tracing/rust: Add tracepoints for rust code

From: Steven Rostedt
Date: Tue Nov 05 2024 - 09:19:46 EST


git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
rust/for-next

Head SHA1: 169484ab667788e73d1817d75c2a2c4af37dbc7f


Alice Ryhl (5):
rust: add static_branch_unlikely for static_key_false
rust: add tracepoint support
rust: samples: add tracepoint to Rust sample
jump_label: adjust inline asm to be consistent
rust: add arch_static_branch

----
MAINTAINERS | 1 +
arch/arm/include/asm/jump_label.h | 14 ++++---
arch/arm64/include/asm/jump_label.h | 20 +++++----
arch/loongarch/include/asm/jump_label.h | 16 ++++---
arch/riscv/include/asm/jump_label.h | 50 ++++++++++++----------
arch/x86/include/asm/jump_label.h | 35 ++++++----------
include/linux/tracepoint.h | 28 ++++++++++++-
include/trace/define_trace.h | 12 ++++++
include/trace/events/rust_sample.h | 31 ++++++++++++++
rust/Makefile | 6 +++
rust/bindings/bindings_helper.h | 3 ++
rust/helpers/helpers.c | 1 +
rust/helpers/jump_label.c | 14 +++++++
rust/kernel/.gitignore | 3 ++
rust/kernel/arch_static_branch_asm.rs.S | 7 ++++
rust/kernel/jump_label.rs | 74 +++++++++++++++++++++++++++++++++
rust/kernel/lib.rs | 37 +++++++++++++++++
rust/kernel/tracepoint.rs | 49 ++++++++++++++++++++++
samples/rust/Makefile | 3 +-
samples/rust/rust_print.rs | 18 ++++++++
samples/rust/rust_print_events.c | 8 ++++
scripts/Makefile.build | 9 +++-
22 files changed, 374 insertions(+), 65 deletions(-)
create mode 100644 include/trace/events/rust_sample.h
create mode 100644 rust/helpers/jump_label.c
create mode 100644 rust/kernel/.gitignore
create mode 100644 rust/kernel/arch_static_branch_asm.rs.S
create mode 100644 rust/kernel/jump_label.rs
create mode 100644 rust/kernel/tracepoint.rs
create mode 100644 samples/rust/rust_print_events.c