Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp925149ybx; Tue, 5 Nov 2019 07:38:36 -0800 (PST) X-Google-Smtp-Source: APXvYqyT56zTm1gA4+s5fI+Dle0wTRu1dHHdnY3ghNFJuno/zevoP+toX0AAjMDxpdubiRTriOuH X-Received: by 2002:a05:6402:8cb:: with SMTP id d11mr1934312edz.303.1572968316036; Tue, 05 Nov 2019 07:38:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572968316; cv=none; d=google.com; s=arc-20160816; b=RZJxOFLNdEZyv2G65LbhZpJu07n8IW4MVvBEeu68++R9zEBhyKFfsmPB09ymXaeIfv JyOnbWAwMDrzbFJd9900x0Ab/fW0/tQLKa3uiUNRiKVsWJq3q5zKSJPQF5KBhjSWdNow EjkBQQfZJHsgz9jXuEwz5j8SbeL7NLnwWrLP4HAGY/oijMLujtjHaSK8YJS4GD6br9RQ bixfjAq0bX1f/RXi9qDK+2ZL+daLyZfevOQ/Q+Pt+1TJWi0H7ZcOBi5v2ebOijlOW8zA L5LET1L3B4LzuJnZ1UtIaFoL1KSJqTJSO6V/H2PwNrVWbO9NydnZ2NdJFmMd++FioL9Y pT5w== 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:date:from:dkim-signature; bh=Aa04Qw0VXYDK6FtYWg/olB/CrPBzG1i0OxKRqVmlQBk=; b=WspDnhNe2VLfC+hpE0z1bRT/khA14pXl5q7t/L3XjK3EQ8C6S9ySOiEU0CWdBG1SEQ dI/pic6JsFBc5yqk42BJqfGiqpAyxK49RQOmXySrfRf/6SXLNp/NeM6gyl8nfqAcJNoI +Jm6h9QRfjWOXN7Qzt3eaNKubi1vXpO74MBggYH/VbbTs2dw0o7wT7kO2uPMZrVGdN7K t27weHaINVpUssepY7vq/JwqrAlpUwXhnc9JQwLdmih5nIjobbXEfDq/mV75O5tAYbc5 iqXTAIxVW83m/StNINuGeqrAZoCju2u2QT0ZMhHKFUdCOmLs08j7Qezjx+Hy/VTVdBnq 2kgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pJ6QMDVG; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qh13si3911394ejb.407.2019.11.05.07.38.12; Tue, 05 Nov 2019 07:38:36 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pJ6QMDVG; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389623AbfKEPhR (ORCPT + 99 others); Tue, 5 Nov 2019 10:37:17 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:46359 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727830AbfKEPhR (ORCPT ); Tue, 5 Nov 2019 10:37:17 -0500 Received: by mail-qt1-f193.google.com with SMTP id u22so29906654qtq.13 for ; Tue, 05 Nov 2019 07:37:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Aa04Qw0VXYDK6FtYWg/olB/CrPBzG1i0OxKRqVmlQBk=; b=pJ6QMDVG+oeVr6f2YHkDXCHX2KwLgyAE7pfxX/B3jY9qUepayFAcNzIgeN9UrhEbDg S3N4UW5Dgkz2CodOWMtsm0JREkge1fDN3ZHCcNID+1pIxqmt8XGq2efBfX5CbJlMEUpN zmSgF5Yiv10jUr9VfNvZLeiziJ0fDuzgOCHbiZCbcBEJuqd6lAWwco5w8OKU3AbbqpY9 F+rL0u6E2drtCdXYkY19YvMMOopLR3UyGMnd7CvO6kALuAGASkIm3FwbkdjJ9MK23Cdt TV/BUPHSxFxUNOI2s3jOngTlBfWB/VyO0Psu7hv8yhDBnhuZudTbh6J7AfWQbmqGos5S 84BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Aa04Qw0VXYDK6FtYWg/olB/CrPBzG1i0OxKRqVmlQBk=; b=NHna2djpIIOAne8rdPXZjjy1oFfMQW+vD+vKhtTjrKaERnf06aTCjt2o6Sx4TNN8KM z5+CqZkIC9ZF9iI0jWPOxPJonRYQMFGo//rdngT2veNxw1hPnnZAj0h32PlZxfLGdkDU Pe85F0YaawD1EQZMk4/vVmilwHlRONfo3+8myVnb7rUfj8/P35vNje6ImF1cs9xkS/AF t1plbblnt9iV6JLejjVJxeDzDbCZymb7ccuiOMVsHTQcn7rImnCDYzNcWeYlAwIlWhB5 re5PRrLTKcnRQ5/hLmGUhTHRjHXFPYekF7PqspwE2kXz0ycI+HNaQFUGOiMtrma5KZdw +SEw== X-Gm-Message-State: APjAAAVG2V6obuDz8gXhKcpOZASaVq2LGu2zqUR6FnxgqvFGcSCqazqU mYpztE8I/21jgNoFht5iBy4= X-Received: by 2002:a0c:c392:: with SMTP id o18mr27031115qvi.75.1572968236127; Tue, 05 Nov 2019 07:37:16 -0800 (PST) Received: from quaco.ghostprotocols.net ([179.97.35.50]) by smtp.gmail.com with ESMTPSA id q8sm14263890qta.31.2019.11.05.07.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 07:37:14 -0800 (PST) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 3084C40B1D; Tue, 5 Nov 2019 12:37:12 -0300 (-03) Date: Tue, 5 Nov 2019 12:37:12 -0300 To: Jiri Olsa Cc: Jiri Olsa , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Joe Mario , Kan Liang , Andi Kleen , Alexey Budankov Subject: Re: [PATCHv2 0/3] perf stat: Add --per-node option Message-ID: <20191105153712.GE4218@kernel.org> References: <20190904073415.723-1-jolsa@kernel.org> <20191105130354.GE29390@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191105130354.GE29390@krava> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Nov 05, 2019 at 02:03:54PM +0100, Jiri Olsa escreveu: > On Wed, Sep 04, 2019 at 09:34:12AM +0200, Jiri Olsa wrote: > > hi, > > adding --per-node option to aggregate stats per NUMA nodes, > > you can get now use stat command like: > > > > # perf stat -a -I 1000 -e cycles --per-node > > # time node cpus counts unit events > > 1.000542550 N0 20 6,202,097 cycles > > 1.000542550 N1 20 639,559 cycles > > 2.002040063 N0 20 7,412,495 cycles > > 2.002040063 N1 20 2,185,577 cycles > > 3.003451699 N0 20 6,508,917 cycles > > 3.003451699 N1 20 765,607 cycles > > ... > > > > v2 changes: > > - use mallox instead of zalloc plus adding comment [Arnaldo] > > - rename --per-numa to --per-node [Alexey] > > - rename function names to have node instead of numa > > > > Available also in: > > git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > > perf/fixes > > I forgot about this one ;-) rebased the latest perf/core > and pushed out.. Thanks, applied. - Arnaldo