Re: [PATCH v4 06/18] tracing/remotes: Add dmesg tracefs file

Steven Rostedt <[email protected]>
Newsgroups org.kernel.vger.linux-trace-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, 11 Aug 2026 10:09:27 +0100
Vincent Donnefort <[email protected]> wrote:

> > > This is a pre-existing issue, but if an oversized event causes
> > > trace_remote_iter_print_event() to return -EOVERFLOW, will this break
> > > the loop without calling trace_remote_iter_move()?
> > > 
> > > Since the event is left unconsumed in the buffer, could this lead to an
> > > uninterruptible infinite loop (hard lockup) when reading the trace pipe?  
> > 
> > I'll let you answer the above.
> > 
> > -- Steve  
> 
> I don't believe this can realistically happen, trace_seq buffer is 8K and remote
> events are really small. 

They are small until they are not ;-)

Is there anything that forces their size to be small?

-- Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.