Re: Potential Issue in Tracing Ring Buffer

From: Greg KH
Date: Thu Nov 26 2020 - 00:56:33 EST


On Tue, Nov 24, 2020 at 10:39:17PM +0000, J. Avila wrote:
> Hello,
>
> In the ftrace logs we've collected internally, we have found that there are
> situations where time seems to go backwards; this breaks userspace tools which
> expect time to always go forward in these logs. For example, in this snippet
> from a db845c running a 5.10-rc4 kernel[1] (thanks for getting us the trace,
> John!), we see:

Does the patch at:
https://lore.kernel.org/r/20201125225654.1618966-1-minchan@xxxxxxxxxx

resolve this issue for you?

thanks,

greg kh-