Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp257186pxa; Fri, 31 Jul 2020 11:10:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8tY7ghQNaohTSnuNnuwsQyt0jiOmed6Hrh2/B169mPxF6r+9NM2q1vuwz5idfFXe16Alw X-Received: by 2002:a17:906:4ec6:: with SMTP id i6mr5210975ejv.358.1596219013120; Fri, 31 Jul 2020 11:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596219013; cv=none; d=google.com; s=arc-20160816; b=0YP8kMIxz6eIeMVCcRpGagv9XkC3ZGE7NZGvMqxY9GKK2xtgVjhg4gCy/HYIXUoO23 BeJ1EJkMSEcSCj5r148U+YhaPatdMV0pLIZPHRRAZewi1i2nOcL7T3MejfmZWimDxoOi z8rwMVmxZW2TaNUJ/Ow+Jm4MWH6sumjphy/S9LSpkfORW+Bng8t/2St5GSqcBUVypRhG YZbfNtcUyJJzfrFGwlYsr8y2fxI0p8vDgKo2PkZN/qYZUY3PpPH41cyEYKi4vJbaHhy6 mL4OxPKpsx8JmORtPoWQDrY05dUuir6hksuosTeZAmPvxldCwNpSmdAaqD34pgJUv53F rw6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=t1zAWmfo6qZtPbotvLd0epPAf9W0ABBv1rEkWfGnG6M=; b=s8MsM5gl319nQNc0SYY14d7cEh6O1/m5UgjCHTo5Q5Fp6jDJBL/jZOEDRdcp7iHeRX 6RB/ySe/kayt17X1YWUa3tz+soaZX6BLfHVX105ZGQlOhOJv+TNEeixPJYbGdSiOAJuS 6EZv1ZZkMktw5JEjH7tsppLsnEB4BDwvRMQUpnLmc8CyigbAPbcYkfkYuSPzlrYLkwaP Dj6z2LYdf++vWqhTTig/i8pXybTQcB6PKWZsYEleFdnKoZEspcCx+z876qzu/8zNfP2g vz44LFkKshP9YZ3WWSdQb1dgMhBWM7k7M40Mp81IaGYEOteSVqL9zG02IcdD/E6CnqAQ moIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=G5Unzz6C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b24si2785208edy.309.2020.07.31.11.09.46; Fri, 31 Jul 2020 11:10:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=G5Unzz6C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387680AbgGaSFy (ORCPT + 99 others); Fri, 31 Jul 2020 14:05:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387676AbgGaSFy (ORCPT ); Fri, 31 Jul 2020 14:05:54 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19EC0C061574 for ; Fri, 31 Jul 2020 11:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=t1zAWmfo6qZtPbotvLd0epPAf9W0ABBv1rEkWfGnG6M=; b=G5Unzz6CF86b4LiWMq14iFn1a0 k335RypiF19sg+JpP4kuO5gOOvqtUJpqPeXAF8kEDx/AHklbwDoYY20wCwIQjhzEZeQELdFdZmhe+ Q72Xbc933oafaTBi/l6LEonJXabKCu/uTEMwHCCm/RyUq68jWZWSqB4t+UwOEM8SsCIYh94r5MliY Qg9wAXER+eY1aB0ofmrgYCW0WLLhvKRAk9z7sH0g7sJDV1vj7h7XFNYYQZbAbUPqcdjQXt68i3i1W Ui0Zc8Vq9ayh0rnkxON5TOIcyvp+5V0jU9ILXlDkFGS5/JVGoKx8+8GdSyjLuWamiESSFNp1zKri8 wtA8Zmnw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1ZPZ-0001r8-Eg; Fri, 31 Jul 2020 18:05:41 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 966B33050F0; Fri, 31 Jul 2020 20:05:39 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 64849203C70DC; Fri, 31 Jul 2020 20:05:39 +0200 (CEST) Date: Fri, 31 Jul 2020 20:05:39 +0200 From: peterz@infradead.org To: Andi Kleen Cc: Jiri Olsa , David Ahern , Jiri Olsa , Arnaldo Carvalho de Melo , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Michael Petlan , Ian Rogers , =?iso-8859-1?Q?Genevi=E8ve?= Bastien , Wang Nan , Jeremie Galarneau Subject: Re: [PATCH 0/6] perf tools: Add wallclock time conversion support Message-ID: <20200731180539.GA2674@hirez.programming.kicks-ass.net> References: <20200730213950.1503773-1-jolsa@kernel.org> <20200730221423.GH2638@hirez.programming.kicks-ass.net> <20200731074726.GA1485940@krava> <20200731153612.GC1299820@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200731153612.GC1299820@tassilo.jf.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 31, 2020 at 08:36:12AM -0700, Andi Kleen wrote: > > yep, we have a customer that needs to compare data from multiple servers > > It's also needed to correlate over different guests on the same machine. > This is an important use case. Both these cases you want to sync up CLOCK_MONOTONIC, using walltime is just utterly misguided. What happens if the servers have (per accident or otherwise) different DST settings, or someone does a clock_setttime() for giggles. All you really want is a clock that runs at the same rate but is not subject to random jumps and user foibles.