[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251003084426.f2de6028fd74e1af4e13d190@kernel.org>
Date: Fri, 3 Oct 2025 08:44:26 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Masami Hiramatsu (Google) <mhiramat@...nel.org>, Menglong Dong
<menglong8.dong@...il.com>, Thorsten Blum <thorsten.blum@...ux.dev>, Steven
Rostedt <rostedt@...dmis.org>, Masami Hiramatsu <mhiramat@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] probes: Update for v6.18
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@...nel.org>
Powered by blists - more mailing lists