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

From: Steven Rostedt
Date: Wed Oct 04 2017 - 13:14:41 EST


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?

-- Steve

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