Re: [PATCH v11 04/11] tracing: wprobe: Add watchpoint probe event based on hardware breakpoint
From: Steven Rostedt
Date: Wed Aug 05 2026 - 15:33:36 EST
On Mon, 3 Aug 2026 09:03:56 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> > The new syntax is;
> >
> > w[:[GROUP/]EVENT] [r|w|rw]@[ADDR|SYM][:SIZE] [FETCH_ARGs]
> >
> > User also can use $addr to fetch the accessed address and $value to fetch
> > the accessed memory value (shorthand for '+0($addr)'). No other variables
> > are supported.
>
> This seems limited to kernel addresses only? Should not also userspace
> addresses be supported?
Hmm, how would that work? The address is global for all tasks, so if you
add a user space address, what task would that be for? The one writing the
probe?
-- Steve