On Tue, 12 Dec 2023 11:03:32 -0500 Steven Rostedt <rost...@goodmis.org> wrote:
> @@ -7300,9 +7301,25 @@ tracing_mark_write(struct file *filp, const char > __user *ubuf, > buffer = tr->array_buffer.buffer; > event = __trace_buffer_lock_reserve(buffer, TRACE_PRINT, size, > tracing_gen_ctx()); > - if (unlikely(!event)) > + if (unlikely(!event)) { > + /* > + * If the size was greated than what was allowed, then > + * make it smaller and try again. > + */ And I forgot to fix the comment. :-p -- Steve