Re: [PATCH v6 04/24] tracing: Add reset to trace remotes
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-09-09 13:39:49
Also in:
kvmarm, linux-trace-kernel, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-09-09 13:39:49
Also in:
kvmarm, linux-trace-kernel, lkml
On Tue, 9 Sep 2025 13:10:25 +0100 Vincent Donnefort [off-list ref] wrote:
quoted
I wonder if we should name the file "reset" to not be confusing to users when they cat the file and it doesn't produce any output.My idea was to keep the exact same interface as the rest of the tracing. I could keep that /trace file for compatibility and add /reset? "cat trace" could also just returns a text like *** not supported *** ?
If it's never going to be supported, I rather not add it. It not being there is a sure way of knowing it's not supported. Just adding it because the normal system has it is actually worse if it doesn't behave the same. -- Steve