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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 9AE6EC072B5 for ; Fri, 24 May 2019 15:25:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 782FF217D7 for ; Fri, 24 May 2019 15:25:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389748AbfEXPZA (ORCPT ); Fri, 24 May 2019 11:25:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:41086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389079AbfEXPZA (ORCPT ); Fri, 24 May 2019 11:25:00 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (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 6D4832133D; Fri, 24 May 2019 15:24:59 +0000 (UTC) Date: Fri, 24 May 2019 11:24:57 -0400 From: Steven Rostedt To: Jason Behmer Cc: tom.zanussi@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: Nested events with zero deltas, can use absolute timestamps instead? Message-ID: <20190524112457.58b24d89@gandalf.local.home> In-Reply-To: References: <20190329125258.2c6fe0cb@gandalf.local.home> <20190401222056.3da6e7a7@oasis.local.home> <20190524110048.142efd44@gandalf.local.home> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 24 May 2019 08:11:12 -0700 Jason Behmer wrote: > > > What do you think of that? > > > > I don't think that's confusing if its well documented. Have the user > > flag called "force_absolute_timestamps", that way it's not something > > that the user will think that we wont have absolute timestamps if it is > > zero. Have the documentation say: > > > > Various utilities within the tracing system require that the ring > > buffer uses absolute timestamps. But you may force the ring buffer to > > always use it, which will give you unique timings with nested tracing > > at the cost of more usage in the ring buffer. > > > > -- Steve > > Ah, I was thinking of doing this within the existing timestamp_mode > config file. Having a separate file does make it much less confusing. Not a separate file, but a new tracing option. -- Steve