Skip to content

tracing/rust: Add tracepoints for rust code

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5rust: add static_branch_unlikely for static_key_falserust/bindings/bindings_helper.h rust/helpers/helpers.c rust/helpers/jump_label.c +2 more+47 -00 replies
2/5rust: add tracepoint supportinclude/linux/tracepoint.h include/trace/define_trace.h rust/bindings/bindings_helper.h +2 more+90 -10 replies
3/5rust: samples: add tracepoint to Rust sampleMAINTAINERS include/trace/events/rust_sample.h rust/bindings/bindings_helper.h +3 more+61 -10 replies
4/5jump_label: adjust inline asm to be consistentarch/arm/include/asm/jump_label.h arch/arm64/include/asm/jump_label.h arch/loongarch/include/asm/jump_label.h +2 more+73 -620 replies
5/5rust: add arch_static_branchrust/Makefile rust/kernel/.gitignore rust/kernel/arch_static_branch_asm.rs.S +3 more+104 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchBoqun FengGary GuoCarlos LlamasPeter Zijlstra (Intel)Catalin MarinasPalmer Dabbelt
1/5R-b R-b
2/5R-b R-b R-b
3/5R-b
4/5A-b A-b A-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

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

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