From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>,
Menglong Dong <menglong8.dong@gmail.com>,
Thorsten Blum <thorsten.blum@linux.dev>,
Steven Rostedt <rostedt@goodmis.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
linux-kernel@vger.kernel.org
Subject: [GIT PULL] probes: Update for v6.18
Date: Fri, 3 Oct 2025 08:44:26 +0900 [thread overview]
Message-ID: <20251003084426.f2de6028fd74e1af4e13d190@kernel.org> (raw)
Hi Linus,
Probes for v6.18:
- 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().
- wprobe: Introduce a watchpoint probe event based on hw_breakpoint.
. Add a new watchpoint probe that uses hardware breakpoints to
monitor memory accesses. This allows for tracing memory reads
and writes at specified addresses.
. Add a basic add/remove test case for wprobe.
. Add a syntax test case for wprobe.
- 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.18-2 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-v6.18-2
Tag SHA1: c9699ea9d31215b01384fc3ce3a8c7cb3c8671f9
Head SHA1: 764d1ce2ccf0377dd81a0f199f267703918588da
Masami Hiramatsu (Google) (9):
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: wprobe: Add watchpoint probe event based on hardware breakpoint
selftests: tracing: Add a basic testcase for wprobe
selftests: tracing: Add syntax testcase for wprobe
tracing: fprobe: Fix to init fprobe_ip_table earlier
Menglong Dong (2):
tracing: fprobe: use rhltable for fprobe_ip_table
tracing: fprobe: fix suspicious rcu usage in fprobe_entry
Thorsten Blum (1):
tracing: probes: Replace strcpy() with memcpy() in __trace_probe_log_err()
----
Documentation/trace/index.rst | 1 +
Documentation/trace/wprobetrace.rst | 69 +++
include/linux/fprobe.h | 3 +-
include/linux/trace_events.h | 2 +
kernel/trace/Kconfig | 13 +
kernel/trace/Makefile | 1 +
kernel/trace/fprobe.c | 159 +++--
kernel/trace/trace.c | 9 +-
kernel/trace/trace.h | 5 +
kernel/trace/trace_eprobe.c | 108 ++--
kernel/trace/trace_probe.c | 27 +-
kernel/trace/trace_probe.h | 12 +-
kernel/trace/trace_uprobe.c | 82 +--
kernel/trace/trace_wprobe.c | 685 +++++++++++++++++++++
tools/testing/selftests/ftrace/config | 1 +
.../ftrace/test.d/dynevent/add_remove_wprobe.tc | 68 ++
.../test.d/dynevent/wprobes_syntax_errors.tc | 20 +
17 files changed, 1076 insertions(+), 189 deletions(-)
create mode 100644 Documentation/trace/wprobetrace.rst
create mode 100644 kernel/trace/trace_wprobe.c
create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/add_remove_wprobe.tc
create mode 100644 tools/testing/selftests/ftrace/test.d/dynevent/wprobes_syntax_errors.tc
---------------------------
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
next reply other threads:[~2025-10-02 23:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-02 23:44 Masami Hiramatsu [this message]
2025-10-05 16:20 ` [GIT PULL] probes: Update for v6.18 Linus Torvalds
2025-10-06 0:27 ` Masami Hiramatsu
2025-10-06 0:50 ` Masami Hiramatsu
2025-10-06 3:09 ` Linus Torvalds
2025-10-06 12:01 ` Masami Hiramatsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251003084426.f2de6028fd74e1af4e13d190@kernel.org \
--to=mhiramat@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=menglong8.dong@gmail.com \
--cc=rostedt@goodmis.org \
--cc=thorsten.blum@linux.dev \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox