Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1058951pxb; Thu, 4 Feb 2021 04:11:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJweNYdgbAdNQlfOXimfLYGDi5eTXmWZ6jV957FUb3ElBfO66nYU7KBsGiX8RicgpnwobD5z X-Received: by 2002:a05:6402:451:: with SMTP id p17mr7875961edw.248.1612440677630; Thu, 04 Feb 2021 04:11:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612440677; cv=none; d=google.com; s=arc-20160816; b=A6PRmFiN+mdHHrisBYiAMv85J2jJ59s2yNqltWScy1zfoM0T8tTQ08Y6ccjhjjJkrD hQ7RvG6apy4a0ga9iPEljOQzse3BXBS1OBmt4pW5zvxMTd/Lf7aiUQWUHb0WyHkuCcaW tIxdbkpJwOkJBGdiKJuucGe6NboN3Zmx6nnkS+3FS+FD4qLsABSkiRD9BsNJ3YeV2pqT RPV06NPyd/qo13/sVyuUG1Xtu/8efIs5JUGWUrNax2ibRrsQRBnr0hkeXYBUEL2D8InS 7zp7RI8AqKlRRJ/vPSADUrTH/wdq+edhO/qIbLlcbRBKGXFMK17AZOfBZdRpBMSxUOtW nWSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=A2MnuWw/zsUlFQOtKqPMfK24NaxnUoxdjPMBpT4vbJs=; b=zx7VMv02Ae0TAgiIIofegHjwqOm1ZJgtNuksU/FPl4Xl4n8EYM8fkXRi9eIyCYg4Oq hSORzVSS5OViL3gTGgBteP4ITK7Wzl7bTnQHmq8Pj7xJ4QqvqpWmizF/x+y1IKxMW6qF XTrV4ZAgRPKH+QIFcqdDzG8Urm6jbOpGaAfE4CUBg6DDOeRdRuuZk9pJZ+iAWeVYvmEn QcTyB+VYtmrJ8CCHE4lx4395FXaK5vlKkDmntpl6GaFvB2Rsgt8/t6OIAoJ9V6ikErqY WcPoX5VHuFKx+dbJOQUf5NmME2FoENtPms7bDj0s84UFxOCuy9ppbFDuEDCCXkYm5neo ZAAg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si3952830edv.513.2021.02.04.04.10.51; Thu, 04 Feb 2021 04:11:17 -0800 (PST) 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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235721AbhBDMIt (ORCPT + 99 others); Thu, 4 Feb 2021 07:08:49 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:39226 "EHLO mail-qt1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235635AbhBDMIs (ORCPT ); Thu, 4 Feb 2021 07:08:48 -0500 Received: by mail-qt1-f178.google.com with SMTP id e11so2130385qtg.6 for ; Thu, 04 Feb 2021 04:08:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A2MnuWw/zsUlFQOtKqPMfK24NaxnUoxdjPMBpT4vbJs=; b=L1uqHqEe9R91FrGmDXSyDb4WIk2+L3PVKJsoqoxySl3ELNa5k+A45qVpDEFIbulCXv TmuoLmPEVe08vfhJuZssUqE7F9VA/FrS0Rs9fCrljDzASNtAzYnkN5ZCX6smpcEL/wbf cO5AKM1oeGKrWyadKfntISNNbEWvcnVpXFUNP6q4FuJrS7tMVDTIqIkiHgp/YOgOQmI4 L72CMWq1hAscRHPnJvM8YPkf25Lq5oZvStpWB2FqWmJaP+P9ojRALPbq4ShJX6p7uWRR xMhnFSOOzURT9KFuMn6oAmYXn29lR2rHe1N4CavsRWIRoqxAu+gHzi8yGv/aEf+FYkoX ViBw== X-Gm-Message-State: AOAM530hTm+Fgab6glC4aQmmdX7+yrMbPOi/BS6Tp1wUQWO0Etg4S26t eJX9X6wNJgQj2oSp5CkiDC33qbOSLHoHG9Nw4mmsoyGM X-Received: by 2002:ac8:7b89:: with SMTP id p9mr6831861qtu.276.1612440486825; Thu, 04 Feb 2021 04:08:06 -0800 (PST) MIME-Version: 1.0 References: <20210203135830.38568-1-alexander.antonov@linux.intel.com> <20210203135830.38568-2-alexander.antonov@linux.intel.com> In-Reply-To: <20210203135830.38568-2-alexander.antonov@linux.intel.com> From: Namhyung Kim Date: Thu, 4 Feb 2021 21:07:55 +0900 Message-ID: Subject: Re: [PATCH v4 1/5] perf stat: Add AGGR_PCIE_PORT mode To: Alexander Antonov Cc: Arnaldo Carvalho de Melo , linux-kernel , Jiri Olsa , Andi Kleen , Alexander Shishkin , Mark Rutland , Ian Rogers , Ingo Molnar , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Wed, Feb 3, 2021 at 10:58 PM Alexander Antonov wrote: > > Adding AGGR_PCIE_PORT mode to be able to distinguish aggr_mode > for root ports in following patches. I'm not sure adding the AGGR_PCIE_PORT is the right way. In my understanding, the aggr mode is to specify how we aggregate counter values of a single event from different cpus. But this seems to aggregate counter values from different events. Also the new mode is basically the same as AGGR_GLOBAL. As you will add stat_config.iostat_run to distinguish the iostat command, probably we just want to use the global aggr mode (and it's the default!) and get rid of the AGGR_PCIE_PORT. Thoughts? Thanks, Namhyung