Skip to contentSkip to conversation

probes: Updates for v6.19

GIT PULL Merged Masami Hiramatsu (Google) 2 participants 3 messages Dec 3, 2025 – Dec 5, 2025

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Probes for v6.19

- fprobe: Performance enhancement of the fprobe using rhltable . fprobe: use rhltable for fprobe_ip_table. The fprobe IP table has been converted to use an rhltable for improved performance when dealing with a large number of probed functions.
. Fix a suspicious RCU usage warning of the above change in the
fprobe entry handler.
. Remove an unused local variable of the above change.
. Fix to initialize fprobe_ip_table in core_initcall().

- fprobe: Performance optimization of fprobe by ftrace
. fprobe: Use ftrace instead of fgraph for entry only probes. This
avoids the unneeded overhead of fgraph stack setup.
. Also update fprobe selftest for entry-only probe.
. fprobe: Use ftrace only if CONFIG_DYNAMIC_FTRACE_WITH_ARGS or
WITH_REGS is defined.

- probes: Cleanup probe event subsystems.
. uprobe/eprobe: Allocate traceprobe_parse_context per probe instead
of each probe argument parsing. This reduce memory allocation/free of temporary working memory.
. uprobes: Cleanup code using __free().
. eprobes: Cleanup code using __free().
. probes: Cleanup code using __free(trace_probe_log_clear) to clear
error log automatically.
. probes: Replace strcpy() with memcpy() in __trace_probe_log_err().

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

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

Tag SHA1: f5c785618b77385ed4fa930a17db87df26497f65 Head SHA1: cd06078a38aaedfebbf8fa0c009da0f99f4473fb

Masami Hiramatsu (Google) (6):
tracing: probes: Use __free() for trace_probe_log
tracing: eprobe: Cleanup eprobe event using __free()
tracing: uprobes: Cleanup __trace_uprobe_create() with __free()
tracing: uprobe: eprobes: Allocate traceprobe_parse_context per probe
tracing: fprobe: Remove unused local variable
tracing: fprobe: Fix to init fprobe_ip_table earlier

Menglong Dong (5):
tracing: fprobe: use rhltable for fprobe_ip_table
tracing: fprobe: fix suspicious rcu usage in fprobe_entry
tracing: fprobe: optimization for entry only case lib/test_fprobe: add testcase for mixed fprobe
tracing: fprobe: use ftrace if CONFIG_DYNAMIC_FTRACE_WITH_ARGS

Thorsten Blum (1):
tracing: probes: Replace strcpy() with memcpy() in __trace_probe_log_err()

----

 include/linux/fprobe.h      |   3 +-
 kernel/trace/fprobe.c       | 301 ++++++++++++++++++++++++++++++++------------
 kernel/trace/trace_eprobe.c | 108 +++++++---------
 kernel/trace/trace_probe.c  |   5 +-
 kernel/trace/trace_probe.h  |   4 +-
 kernel/trace/trace_uprobe.c |  82 +++++-------
 lib/tests/test_fprobe.c     |  99 ++++++++++++++-
 7 files changed, 405 insertions(+), 197 deletions(-)
Signature · 1 line
Masami Hiramatsu (Google) <[email protected]>
merge bot Merged
#2 lore raw
In reply to Masami Hiramatsu (Google)
The pull request you sent on Wed, 3 Dec 2025 09:35:46 +0900:

The pull request you sent on Wed, 3 Dec 2025 09:35:46 +0900:

Quoted 1 line

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

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

Thank you!

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