Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp894876ybe; Mon, 2 Sep 2019 10:47:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvdYJkBBhKj9NyiO7F3h4TH+mZW9LTdk8U5B8oBBASMBG+wzlMRpvEM00fGuOI+7oYjdZu X-Received: by 2002:a17:902:7886:: with SMTP id q6mr31558924pll.78.1567446473118; Mon, 02 Sep 2019 10:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567446473; cv=none; d=google.com; s=arc-20160816; b=aO2EE8NWnsIoEUAZ61QvWgJjQ4Uk00LyhdZ5Qr7t4cEdyMPU2gkiNLbX7gpA1C1t/F lA7lNj/URUro+WUCcc1mEik7/99jsjqamjDibjcJu7+G7I5A310RDF3dbbNsmgPgjgXI PWDmzmqlMv4xMh1TGmvRy9Fz2/TzTnt8jk7G5Zyh1vh8d7dxSy1nQ90orsKe/Qazvy5G iwLdpWynGXaAY3OfkS6BMvz3sBftckhTIG6ktGz2Z4OdQW4pzKsvkh1FUvBM3kEETVv+ 8WxnFqSUPq2GNFYFTq2y7odktdfcLCfBTayTT2t8UdAHlPtAonMq8GiAeMfGuC8zgpII 9HNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Is7SuvwPZDgkTr/G6EDSktAAe2v8O/HNM182oOL0e5M=; b=yPG/VLATUzsnh6aXvjL95QEbokRUE87DAKtQxq3oa6xCru+ehAyjSK4KF7Gj3O/Cnc 9/Zb9Ans2dKopVeCMCtgHOOvLtgx2ti7L/xR2O9ob/hI7OTlPwRF2pYSXDBq4bdKArLQ ohYtHAOLpDLnnziFJh3VUqBDNsMsJZy9gWkjNTWh5tSzITmF2yKFF6xtYtKyM5CaKmEU CqYzmgynT7/3BmNiTXD2bHdyuw3+ZGkcBBf2xfzZ5AoDWvrvo3VW8q3r6YEBnGCSzQ2f xf3jfzqJQpkUjyiok9Cf0jAgZzesVt8LN6Z2Lb8vbSfGSZRhJmKdfNdVuRaPsLVrSeCR 3Yyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si8373951pfh.270.2019.09.02.10.47.37; Mon, 02 Sep 2019 10:47:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726603AbfIBRqe (ORCPT + 99 others); Mon, 2 Sep 2019 13:46:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47694 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbfIBRqe (ORCPT ); Mon, 2 Sep 2019 13:46:34 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5AF3F307D853; Mon, 2 Sep 2019 17:46:34 +0000 (UTC) Received: from krava (ovpn-204-59.brq.redhat.com [10.40.204.59]) by smtp.corp.redhat.com (Postfix) with SMTP id 2E2EC196AE; Mon, 2 Sep 2019 17:46:30 +0000 (UTC) Date: Mon, 2 Sep 2019 19:46:30 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Alexey Budankov , Jiri Olsa , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Joe Mario , Kan Liang , Andi Kleen Subject: Re: [PATCH 3/3] perf stat: Add --per-numa agregation support Message-ID: <20190902174630.GF19702@krava> References: <20190902121255.536-1-jolsa@kernel.org> <20190902121255.536-4-jolsa@kernel.org> <20190902154329.GE8396@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190902154329.GE8396@kernel.org> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Mon, 02 Sep 2019 17:46:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 02, 2019 at 12:43:29PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Sep 02, 2019 at 06:13:17PM +0300, Alexey Budankov escreveu: > > > > On 02.09.2019 15:12, Jiri Olsa wrote: > > > Adding new --per-numa option to aggregate counts per NUMA > > > nodes for system-wide mode measurements. > > > > > > You can specify --per-numa in live mode: > > > > > > # perf stat -a -I 1000 -e cycles --per-numa > > > # time numa cpus counts unit events > > > > It might probably better have 'node' instead of 'numa' as in the > > option name '--per-node' as in the table header, like this: > > Agreed ok, will change jirka > > > > > # time node cpus counts unit events > > 1.000542550 0 20 6,202,097 cycles > > 1.000542550 1 20 639,559 cycles > > 2.002040063 0 20 7,412,495 cycles > > 2.002040063 1 20 2,185,577 cycles > > 3.003451699 0 20 6,508,917 cycles > > 3.003451699 1 20 765,607 cycles > > ... > > > > BR, > > Alexey > > -- > > - Arnaldo