Thread (48 messages) 48 messages, 4 authors, 2025-09-12

Re: [PATCH v6 04/24] tracing: Add reset to trace remotes

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-09-10 16:44:24
Also in: kvmarm, linux-arm-kernel, lkml

On Wed, 10 Sep 2025 10:45:05 +0100
Vincent Donnefort [off-list ref] wrote:
quoted
If we are gonna keep the "trace" file, let's make sure it's fully
implemented.  
I was more worry about the ring-buffer page order that can be reshuffled on each
swap_reader_page(), making the page links useless in the kernel. Ideally, the
meta-page would keep the page ID order somewhere.
Yeah, internally we could keep the order of the pages. Shouldn't be too
hard, as the swapping happens by the kernel.
Alternatively, we could walk all the buffer pages to read the timestamp and
re-create the order but that sounds quite cumbersome.
No, having a separate array of the order is probably what we want. Then
every swap_reader_page() will update the array. The trace iterator could
simply walk that array.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help