Re: [PATCH v3 03/33] ring-buffer: Add interface for setting absolute time stamps

From: Tom Zanussi
Date: Thu Oct 05 2017 - 07:34:40 EST


Hi Steve,

On Wed, 2017-10-04 at 13:14 -0400, Steven Rostedt wrote:
> On Fri, 22 Sep 2017 14:59:43 -0500
> Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx> wrote:
>
> > + /*
> > + * New timestamps may not be consistent with the previous setting.
> > + * Reset the buffer so that it doesn't have incomparable timestamps.
>
> I would like to make the ring buffer robust enough to handle both. Can
> this be done?
>

Probably - I'll take a look at doing this for V4...

Tom

> -- Steve
>
> > + */
> > + tracing_reset_online_cpus(&tr->trace_buffer);
> > +