Re: [PATCH v11 04/11] tracing: wprobe: Add watchpoint probe event based on hardware breakpoint
Steven Rostedt <[email protected]> Wed, 5 Aug 2026 15:34:04 -0400
| Newsgroups | org.kernel.vger.linux-trace-kernel,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 3 Aug 2026 09:03:56 +0200 Peter Zijlstra <[email protected]> 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