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

2017-10-05 Thread Tom Zanussi
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 wrote: > > > + /* > > +* New timestamps may not be consistent with the previous setting. > > +* Reset the buffer so that it doesn't have incomparable timestamps. > > I

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

2017-10-04 Thread Steven Rostedt
On Fri, 22 Sep 2017 14:59:43 -0500 Tom Zanussi 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

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

2017-09-22 Thread Tom Zanussi
Define a new function, tracing_set_time_stamp_abs(), which can be used to enable or disable the use of absolute timestamps rather than time deltas for a trace array. This resets the buffer to prevent a mix of time deltas and absolute timestamps. Only the interface is added here; a subsequent patc