Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754764AbdCTNjj (ORCPT ); Mon, 20 Mar 2017 09:39:39 -0400 Received: from mail.kernel.org ([198.145.29.136]:37700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754209AbdCTNij (ORCPT ); Mon, 20 Mar 2017 09:38:39 -0400 Date: Mon, 20 Mar 2017 10:37:58 -0300 From: Arnaldo Carvalho de Melo To: Ravi Bangoria Cc: peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, ak@linux.intel.com, eranian@google.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf stat: Correct --no-aggr description Message-ID: <20170320133758.GA27647@kernel.org> References: <1490013438-5713-1-git-send-email-ravi.bangoria@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1490013438-5713-1-git-send-email-ravi.bangoria@linux.vnet.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 596 Lines: 18 Em Mon, Mar 20, 2017 at 06:07:18PM +0530, Ravi Bangoria escreveu: > Description of --no-aggr in perf-stat man page is outdated. --no-aggr > can also be used while profiling specific set of cpus. For ex, > > $ perf stat -e cycles,instructions -C 1-2 --no-aggr -- sleep 1 > > Performance counter stats for 'CPU(s) 1-2': > > CPU1 5,94,92,795 cycles > CPU2 2,69,72,403 cycles > CPU1 2,02,08,327 instructions # 0.34 insn per cycle > CPU2 73,17,123 instructions # 0.12 insn per cycle > > 1.000989132 seconds time elapsed Thanks, applied. - Arnaldo