Re: [PATCH v20 10/10] ring-buffer: Show persistent buffer dropped events in trace_pipe file

From: Steven Rostedt

Date: Thu May 21 2026 - 08:19:20 EST


On Thu, 21 May 2026 17:18:59 +0900
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:

> >
> > + if (commit & RB_MISSED_EVENTS) {
> > + printk("MISSED\n");
>
> Is it for debug?

Yes, that was left over. I thought I got rid of all of them. :-p

>
> > + flags = RB_MISSED_EVENTS; }
>
> nit: block closing brace is in the previous line. Maybe typo?

When I do debug statements, I end block statements like this to let me know
that the if statement is supposed to be one line when I remove the print.
But since I missed removing this one, I kept the above formatting.

I'll remove this in v21.

Thanks,

-- Steve