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=-3.8 required=3.0 tests=BAYES_00, 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 B4FB8C4361B for ; Tue, 15 Dec 2020 18:41:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7F1A322AAE for ; Tue, 15 Dec 2020 18:41:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730744AbgLOSlj (ORCPT ); Tue, 15 Dec 2020 13:41:39 -0500 Received: from mga17.intel.com ([192.55.52.151]:52574 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730517AbgLOSlj (ORCPT ); Tue, 15 Dec 2020 13:41:39 -0500 IronPort-SDR: eCf5TbFDh4pOE8ld4EVKW8hfWStMXbniN/noN/Qe8L/ACoxBEChmKicZf8kYDVI0vaMKNeITbn 71bes5xRqNqQ== X-IronPort-AV: E=McAfee;i="6000,8403,9836"; a="154739041" X-IronPort-AV: E=Sophos;i="5.78,422,1599548400"; d="scan'208";a="154739041" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2020 10:39:52 -0800 IronPort-SDR: WZcHuhWOoUxXCDbN+e8Bj2ffHJhRAf1F6LGhGhN1dUdzaKFB0VpJ41e9Q2eiuyhO7mZoGQIXzi pevHk8hEmZOQ== X-IronPort-AV: E=Sophos;i="5.78,422,1599548400"; d="scan'208";a="352032975" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2020 10:39:52 -0800 Date: Tue, 15 Dec 2020 10:39:51 -0800 From: Andi Kleen To: "Paul A. Clarke" Cc: Ian Rogers , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , John Fastabend , KP Singh , Kajol Jain , John Garry , Jin Yao , Kan Liang , Cong Wang , Kim Phillips , LKML , Networking , bpf , linux-perf-users , Stephane Eranian Subject: Re: [RFC PATCH 0/7] Share events between metrics Message-ID: <20201215183951.GB1538637@tassilo.jf.intel.com> References: <20200507081436.49071-1-irogers@google.com> <20200507174835.GB3538@tassilo.jf.intel.com> <20200507214652.GC3538@tassilo.jf.intel.com> <20201215150812.GA38786@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201215150812.GA38786@li-24c3614c-2adc-11b2-a85c-85f334518bdb.ibm.com> Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org > Or, is the concern more about trying to time-slice the results in a > fairly granular way and expecting accurate results then? Usually the later. It's especially important for divisions. You want both divisor and dividend to be in the same time slice, otherwise the result usually doesn't make a lot of sense. -Andi