From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751908AbdJELeg (ORCPT ); Thu, 5 Oct 2017 07:34:36 -0400 Received: from mga05.intel.com ([192.55.52.43]:12887 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751430AbdJELef (ORCPT ); Thu, 5 Oct 2017 07:34:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,481,1500966000"; d="scan'208";a="319873233" Message-ID: <1507203273.29707.0.camel@tzanussi-mobl.amr.corp.intel.com> Subject: Re: [PATCH v3 03/33] ring-buffer: Add interface for setting absolute time stamps From: Tom Zanussi To: Steven Rostedt Cc: tglx@linutronix.de, mhiramat@kernel.org, namhyung@kernel.org, vedang.patel@intel.com, bigeasy@linutronix.de, joel.opensrc@gmail.com, joelaf@google.com, mathieu.desnoyers@efficios.com, baohong.liu@intel.com, rajvi.jingar@intel.com, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Date: Thu, 05 Oct 2017 06:34:33 -0500 In-Reply-To: <20171004131430.6e459b0a@gandalf.local.home> References: <20171004131430.6e459b0a@gandalf.local.home> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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); > > +