From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A16EC56202 for ; Thu, 26 Nov 2020 05:58:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F08FA20770 for ; Thu, 26 Nov 2020 05:58:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ugsbPmix" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387858AbgKZFwv (ORCPT ); Thu, 26 Nov 2020 00:52:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:56064 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732436AbgKZFwv (ORCPT ); Thu, 26 Nov 2020 00:52:51 -0500 Received: from localhost (82-217-20-185.cable.dynamic.v4.ziggo.nl [82.217.20.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8A16520770; Thu, 26 Nov 2020 05:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606369969; bh=hnc18p/0F/IOKnfVsNwzQQR0GYqV1vVqSBLqJ6XV/ZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ugsbPmixCjpFAor9u06EmbptEwXeEybQZcmz/shikemhL+M5Ps5o0UQ8n7IGCXf3n KX32GAxzciUEjyTjUlXObWYz1PALlVIgHYUbNjbMKOmO4e71ndepBqdlW4RVFTRAui 412ivPxZlsBAYH83dok87GrzFzyOEzLhUc+rDLNU= Date: Thu, 26 Nov 2020 06:52:45 +0100 From: Greg KH To: "J. Avila" Cc: rostedt@goodmis.org, mingo@redhat.com, john.stultz@linaro.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: Re: Potential Issue in Tracing Ring Buffer Message-ID: References: <20201124223917.795844-1-elavila@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201124223917.795844-1-elavila@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@kernel.org resolve this issue for you? thanks, greg kh-