Re: [PATCH] tracing: Fix blocked reader of snapshot buffer

2023-12-29 Thread Google
On Thu, 28 Dec 2023 09:51:49 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > If an application blocks on the snapshot or snapshot_raw files, expecting > to be woken up when a snapshot occurs, it will not happen. Or it may > happen with an unexpected result. > > That result is

[PATCH] tracing: Fix blocked reader of snapshot buffer

2023-12-28 Thread Steven Rostedt
From: "Steven Rostedt (Google)" If an application blocks on the snapshot or snapshot_raw files, expecting to be woken up when a snapshot occurs, it will not happen. Or it may happen with an unexpected result. That result is that the application will be reading the main buffer instead of the snap