[GIT PULL] probes: Updates for v7.2

From: Google

Date: Mon Jun 15 2026 - 21:05:55 EST


Hi Linus,

Probes updates for v7.2

- eprobes: BTF support for dereferencing pointers
. tracing/eprobes: Allow use of BTF names to dereference pointers. Add syntax
to the parsing of eprobes to typecast structure pointer trace event fields,
enabling BTF-based dereferencing instead of relying on manual offsets.

- probes: Improvements and robustness enhancements
. tracing: Use flexible array for entry fetch code. Store probe entry fetch
instructions in the probe_entry_arg allocation via a flexible array
member to simplify memory allocation and lifetime management.
. tracing: Replace BUG_ON with lockdep_assert_held in uprobe_buffer functions.
Replace BUG_ON() calls with lockdep_assert_held() in uprobe buffer
enable/disable paths to prevent kernel crashes and better verify lock ownership.
. tracing/probes: Ensure the uprobe buffer size is bigger than event size.
Add a BUILD_BUG_ON() assertion to guarantee that the per-CPU uprobe
working buffer size is always larger than the maximum probe event size.


Please pull the latest probes-v7.2 tree, which can be found at:


git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-v7.2

Tag SHA1: ccffe554d710dba03357fc8d0c1f76ffc9d38f5b
Head SHA1: 69efd863a78584b9416ed6be0e1e7349124b4a00


Masami Hiramatsu (Google) (1):
tracing/probes: Ensure the uprobe buffer size is bigger than event size

Rosen Penev (1):
tracing: Use flexible array for entry fetch code

Steven Rostedt (1):
tracing/eprobes: Allow use of BTF names to dereference pointers

Yash Suthar (1):
tracing: Replace BUG_ON with lockdep_assert_held in uprobe_buffer functions

----
Documentation/trace/eprobetrace.rst | 4 +
kernel/trace/trace_probe.c | 181 +++++++++++++++++++++++++++++-------
kernel/trace/trace_probe.h | 7 +-
kernel/trace/trace_uprobe.c | 5 +-
4 files changed, 159 insertions(+), 38 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>