Re: [PATCH] tracing: Prevent trace_marker being bigger than unsigned short

2024-02-27 Thread Google
On Tue, 27 Feb 2024 12:57:06 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > The trace_marker write goes into the ring buffer. A test was added to > write a string as big as the sub-buffer of the ring buffer to see if it > would work. A sub-buffer is typically PAGE_SIZE in

[PATCH] tracing: Prevent trace_marker being bigger than unsigned short

2024-02-27 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The trace_marker write goes into the ring buffer. A test was added to write a string as big as the sub-buffer of the ring buffer to see if it would work. A sub-buffer is typically PAGE_SIZE in length. On PowerPC architecture, the ftrace selftest for trace_marker