Re: [PATCH] tracing: Update snapshot buffer on resize if it is allocated

2023-12-11 Thread Google
On Mon, 11 Dec 2023 12:51:52 -0500 Steven Rostedt wrote: > On Mon, 11 Dec 2023 21:31:34 +0900 > Masami Hiramatsu (Google) wrote: > > > On Sun, 10 Dec 2023 22:54:47 -0500 > > Steven Rostedt wrote: > > > > > From: "Steven Rostedt (Google)" > > > > > > The snapshot buffer is to mimic the main

Re: [PATCH] tracing: Update snapshot buffer on resize if it is allocated

2023-12-11 Thread Steven Rostedt
On Mon, 11 Dec 2023 21:31:34 +0900 Masami Hiramatsu (Google) wrote: > On Sun, 10 Dec 2023 22:54:47 -0500 > Steven Rostedt wrote: > > > From: "Steven Rostedt (Google)" > > > > The snapshot buffer is to mimic the main buffer so that when a snapshot is > > needed, the snapshot and main buffer ar

Re: [PATCH] tracing: Update snapshot buffer on resize if it is allocated

2023-12-11 Thread Google
On Sun, 10 Dec 2023 22:54:47 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > The snapshot buffer is to mimic the main buffer so that when a snapshot is > needed, the snapshot and main buffer are swapped. When the snapshot buffer > is allocated, it is set to the minimal size th

[PATCH] tracing: Update snapshot buffer on resize if it is allocated

2023-12-10 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The snapshot buffer is to mimic the main buffer so that when a snapshot is needed, the snapshot and main buffer are swapped. When the snapshot buffer is allocated, it is set to the minimal size that the ring buffer may be at and still functional. When it is allocat