On Tue, 28 Apr 2026 12:23:02 -0400
Steven Rostedt <[email protected]> wrote:

> From: Steven Rostedt <[email protected]>
> 
> There currently isn't a max limit an event probe can be. One could make an
> event greater than PAGE_SIZE, which makes the event useless because if
> it's bigger than the max event that can be recorded into the ring buffer,
> then it will never be recorded.
> 
> A event probe should never need to be greater than 3K, so make that the
> max size. As long as the max is less than the max that can be recorded
> onto the ring buffer, it should be fine.
> 
> Cc: [email protected]
> Fixes: 93ccae7a22274 ("tracing/kprobes: Support basic types on dynamic 
> events")
> Signed-off-by: Steven Rostedt <[email protected]>

Hi Masami,

I ran this through my tests along with some other fixes I have. If you
ack it, I can push this to Linus along with my other changes.

-- Steve

Reply via email to