Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp982222pxb; Fri, 15 Apr 2022 17:20:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBu250Vm82c4hy6vg41fEX3RqXAAsD62v+RUIdInenyanpMxtGSGW+n963OdKCwhWi6X62 X-Received: by 2002:a17:902:9b94:b0:156:2c08:14a5 with SMTP id y20-20020a1709029b9400b001562c0814a5mr1467046plp.60.1650068457211; Fri, 15 Apr 2022 17:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650068457; cv=none; d=google.com; s=arc-20160816; b=UiL0HIrycu628wDW+gOzzBgS1LUJisoOdVkcgd1Dnf2YTfEvj6qf6mbwnX0vZG0VRK whNtj/Jbih5FYpTqdiVhRli1ASchNgYf3petWV5O2XY+lfG1llkCOrOXIbsZVO8fTSjw mkSORpXhx5mqVJW4o5wzMiOb58ZYH/PtbXJ7srvr0d/L5MqoIe2Nf6z0MrLRuIUb8DtE 2rQo9bjqgBrel+wT/PEuaYl9tg0CilEwlg07ykD13xZQH2eofgqWxdWts2fvF62ckos3 UOwJ8veL30tUQCtni4xQdYV5CQp6fb/sYXErMhO4iGnXn/JP5LPIiqW6h8Bc+9ihfaZx 1/dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1+CoCJrXT14J2VO1tmxeljnPM+sDWGv+iuU5ZAwlMMU=; b=oNZ+eowFUQfLeaZc3IuCRZhbbAr+f9nfCQkKn9KHGlq6l+2HRQPqqvgV+cFsK9oEEp 16WgsP4g1WQbewTWUy8Zb1aVFw2N+E7Q6JJ6X0Smrko9LKq8u5t8taw9RDNobD4oXeuc 52OgkctNQMtEBqJD5BnRga6SvJkjTdJdTOp820nki07LO51ygMZ8BEUbVd9QdwtVTXM8 XHosa2cCC0TBlOejbkBK759Qr10qMpRSbbtbVqlpBdREVcipNqc9iFY62ed87siDQe0O 7vvxVrsd0EoWk+6Y7bpvV+vnyZsYdNw7OO1vSeovMGaOCgyp5Ht2Lq6tXnuOAYG17lJt IBTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e1K35Zzb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bg5-20020a056a02010500b003817d61f02csi2953614pgb.624.2022.04.15.17.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:20:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=e1K35Zzb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80AF9D5E82; Fri, 15 Apr 2022 17:19:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233116AbiDNL3l (ORCPT + 99 others); Thu, 14 Apr 2022 07:29:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237201AbiDNL3j (ORCPT ); Thu, 14 Apr 2022 07:29:39 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D2A76C1C4; Thu, 14 Apr 2022 04:27:13 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id b15so4578064pfm.5; Thu, 14 Apr 2022 04:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=1+CoCJrXT14J2VO1tmxeljnPM+sDWGv+iuU5ZAwlMMU=; b=e1K35ZzbeO7sxfFRYtgg0inrZZjUHpWGicmshbnDK7ns9PPX+lP06jf3Om7NR7EKE0 dMXHWgFz4Av5Bi+w7uRAFtZoohtO9mmUoTFt5/xCQy+MYTO37SasRJ+6hoOtyxLjL16A dTYHQ5+U7No3QMX0zFNzs+aJsIVB+z7Yosve0O81fzXBk1qQdk6T4BrIIhJe67dFARQS Kr5k6GNcsvUaf1iPxIsYNa4GZf78Mjd23ntIndnoXGPk/Dr8Fi5iupNUPFZlUv+mij4T 8DwZt9D7Xc8Rpj9OdMyonzZszka+fF27fkCr4X6B2My9kOkBSIlmmTzSKo3dghFwZg/5 FKSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=1+CoCJrXT14J2VO1tmxeljnPM+sDWGv+iuU5ZAwlMMU=; b=buaAY46GtMUR34pq03u8qYz3pUPagftzdCt8zEVvFD5FSdiUNTcEt9SinyIrb0GvGC GWdwH2jO+2r4Zi9MK3ynL32zYKuw4+U/nuZgFikPL2UV1GLHhSKDY02F2BPpvX4NJiGp m4BAyfT1yzB3/LJQqT4POzvM6gQEiBKEodFsTP0y07LcdeesDo/157mHbkOPZk2RlVwE iCO3SWtWXd0MF28olW+IrrAEYna4+EOTAurSizSg4U40y7Lv2NbFjPiirs6C9fACLmhV ru1y3ueOO8CugS2puzxg1Rh2DCB3wpuFTkiKAbc8BYDS5UexpEzTooah+R3mgiy0k3DS ok+Q== X-Gm-Message-State: AOAM533h2wc3Bp9CdUG+pCjqauBu3NEd865PxkhLIfQkjUL63GR755nX hgUoufbbMff/W7EwPifkjWg= X-Received: by 2002:a65:418b:0:b0:382:250b:4dda with SMTP id a11-20020a65418b000000b00382250b4ddamr1972051pgq.428.1649935633119; Thu, 14 Apr 2022 04:27:13 -0700 (PDT) Received: from [192.168.43.80] (subs02-180-214-232-11.three.co.id. [180.214.232.11]) by smtp.gmail.com with ESMTPSA id d6-20020a056a00244600b004f701135460sm2134741pfj.146.2022.04.14.04.27.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Apr 2022 04:27:12 -0700 (PDT) Message-ID: <0dd9ba0e-712a-37f6-a50d-f5510cd23033@gmail.com> Date: Thu, 14 Apr 2022 18:27:07 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v2 3/3] tracing: Add documentation for trace clock tai Content-Language: en-US To: Kurt Kanzenbach , John Stultz , Thomas Gleixner , Stephen Boyd , Steven Rostedt , Ingo Molnar , Jonathan Corbet Cc: Richard Cochran , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220414091805.89667-1-kurt@linutronix.de> <20220414091805.89667-4-kurt@linutronix.de> From: Bagas Sanjaya In-Reply-To: <20220414091805.89667-4-kurt@linutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_SORBS_WEB,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/14/22 16:18, Kurt Kanzenbach wrote: > + tai: > + This is the tai clock (CLOCK_TAI) and is derived from the wall- > + clock time. However, this clock does not experience > + discontinuities and backwards jumps caused by NTP inserting leap > + seconds. Since the clock access is designed for use in tracing, > + side effects are possible. The clock access may yield wrong > + readouts in case the internal TAI offset is updated e.g., caused > + by setting the system time or using adjtimex() with an offset. > + These effects are rare and post processing should be able to > + handle them. See comments in the ktime_get_tai_fast_ns() > + function for more information. > + In what file are the ktime_get_tai_fast_ns() comments? -- An old man doll... just what I always wanted! - Clara