Re: [PATCH] ring-buffer: Fix wake ups when buffer_percent is set to 100

2023-12-29 Thread Google
On Thu, 28 Dec 2023 23:05:21 -0500 Steven Rostedt wrote: > On Wed, 27 Dec 2023 07:57:08 +0900 > Masami Hiramatsu (Google) wrote: > > > On Tue, 26 Dec 2023 12:59:02 -0500 > > Steven Rostedt wrote: > > > > > From: "Steven Rostedt (Google)" > > > > > > The tracefs file "buffer_percent" is to

Re: [PATCH] ring-buffer: Fix wake ups when buffer_percent is set to 100

2023-12-28 Thread Steven Rostedt
On Wed, 27 Dec 2023 07:57:08 +0900 Masami Hiramatsu (Google) wrote: > On Tue, 26 Dec 2023 12:59:02 -0500 > Steven Rostedt wrote: > > > From: "Steven Rostedt (Google)" > > > > The tracefs file "buffer_percent" is to allow user space to set a > > water-mark on how much of the tracing ring

Re: [PATCH] ring-buffer: Fix wake ups when buffer_percent is set to 100

2023-12-26 Thread Google
On Tue, 26 Dec 2023 12:59:02 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > The tracefs file "buffer_percent" is to allow user space to set a > water-mark on how much of the tracing ring buffer needs to be filled in > order to wake up a blocked reader. > > 0 - is to wait

[PATCH] ring-buffer: Fix wake ups when buffer_percent is set to 100

2023-12-26 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The tracefs file "buffer_percent" is to allow user space to set a water-mark on how much of the tracing ring buffer needs to be filled in order to wake up a blocked reader. 0 - is to wait until any data is in the buffer 1 - is to wait for 1% of the sub buffers