Skip to contentSkip to conversation

probes: Updates for v6.12

GIT PULL Merged Masami Hiramatsu (Google) 2 participants 2 messages Sep 25, 2024 – Sep 26, 2024

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Probes updates for v6.12:

- uprobes: make trace_uprobe->nhit counter a per-CPU one This makes uprobe event's hit counter per-CPU for improving scalability on multi-core environment.

- kprobes: Remove obsoleted declaration for init_test_probes Remove unused init_test_probes() from header.

- Raw tracepoint probe supports raw tracepoint events on modules. The tracepoint events using fprobe were introduced in v6.5, but tracepoints can be compiled in modules. This supports such a case. This includes the following improvements.
. tracepoint: add a function for iterating over all tracepoints in
all modules.
. tracepoint: Add a function for iterating over tracepoints in a
module.
. tracing/fprobe: Support raw tracepoint events on modules. . tracing/fprobe: Support raw tracepoints on future loaded modules.
This allows user to add tracepoint events on modules which is not loaded yet.
. selftests/tracing: Add a test for tracepoint events on modules.

Please pull the latest probes-v6.12 tree, which can be found at:

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-v6.12

Tag SHA1: 66af4af443ef76c214c5751c162ea058ae05bd1f Head SHA1: 4e78dd6b4c27c5a6d057f179ff6c1ddd75a7a2ab

Andrii Nakryiko (1):
uprobes: turn trace_uprobe's nhit counter to be per-CPU one

Gaosheng Cui (1):
kprobes: Remove obsoleted declaration for init_test_probes

Masami Hiramatsu (Google) (5):
tracepoint: Support iterating over tracepoints on modules
tracepoint: Support iterating tracepoints in a loading module tracing/fprobe: Support raw tracepoint events on modules tracing/fprobe: Support raw tracepoints on future loaded modules sefltests/tracing: Add a test for tracepoint events on modules

----

 include/linux/kprobes.h                            |   9 --
 include/linux/tracepoint.h                         |  20 +++
 kernel/trace/trace_fprobe.c                        | 179 +++++++++++++++------
 kernel/trace/trace_uprobe.c                        |  24 ++-
 kernel/tracepoint.c                                |  42 +++++
 tools/testing/selftests/ftrace/config              |   1 +
 .../test.d/dynevent/add_remove_tprobe_module.tc    |  61 +++++++
 .../ftrace/test.d/dynevent/tprobe_syntax_errors.tc |   1 -
 8 files changed, 275 insertions(+), 62 deletions(-)
 create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_tprobe_module.tc
Signature · 1 line
Masami Hiramatsu (Google) <[email protected]>
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 25 Sep 2024 23:31:56 +0900:

The pull request you sent on Wed, 25 Sep 2024 23:31:56 +0900:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git probes-v6.12

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5159938e10d876fd23d3a5474689a9f6e18a446e

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html