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