Re: [PATCH 1/2] ring-buffer: Remove unused absolute timestamp mode

From: Vincent Donnefort

Date: Thu Nov 26 2026 - 15:11:39 EST


On Tue, Nov 24, 2026 at 09:03:50PM -0500, Steven Rostedt wrote:
> On Thu, 5 Nov 2026 20:28:13 +0000
> Vincent Donnefort <vdonnefort@xxxxxxxxxx> wrote:
>
> > Since commit b94bc80df648 ("tracing: Use a no_filter_buffering_ref to
> > stop using the filter buffer") dropped the last user of
> > ring_buffer_set_time_stamp_abs(), there's been no one enabling absolute
> > timestamps on the ring buffer.
> >
> > Drop the support to simplify the ring buffer code. Keep the read-only
> > tracefs timestamp_mode file to preserve the ABI.
> >
> > Signed-off-by: Vincent Donnefort <vdonnefort@xxxxxxxxxx>
> > ---
> > Documentation/trace/ftrace.rst | 19 ++-------
> > include/linux/ring_buffer.h | 2 -
> > kernel/trace/ring_buffer.c | 77 ++++++++++------------------------
> > kernel/trace/trace.c | 10 +----
> > 4 files changed, 26 insertions(+), 82 deletions(-)
> >
> > diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
> > index 9423722848c6..88c0de3619be 100644
> > --- a/Documentation/trace/ftrace.rst
> > +++ b/Documentation/trace/ftrace.rst
> > @@ -712,27 +712,16 @@ of ftrace. Here is a list of some of the key files:
> >
> > timestamp_mode:
>
> I think we should just delete this file too. And every mention of it.
>
> -- Steve

ack, I'll clean that up too.

--
Vincent