From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753663AbcCGVLz (ORCPT ); Mon, 7 Mar 2016 16:11:55 -0500 Received: from one.firstfloor.org ([193.170.194.197]:48783 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753309AbcCGVLq (ORCPT ); Mon, 7 Mar 2016 16:11:46 -0500 Date: Mon, 7 Mar 2016 22:11:43 +0100 From: Andi Kleen To: Jiri Olsa Cc: Andi Kleen , acme@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org Subject: Re: perf, tools: Refactor and support interval and CSV metrics Message-ID: <20160307211143.GE5083@two.firstfloor.org> References: <1457049458-28956-1-git-send-email-andi@firstfloor.org> <20160307100842.GA28115@krava.redhat.com> <20160307182227.GC5083@two.firstfloor.org> <20160307184839.GA15870@krava.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160307184839.GA15870@krava.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 07, 2016 at 07:48:39PM +0100, Jiri Olsa wrote: > On Mon, Mar 07, 2016 at 07:22:27PM +0100, Andi Kleen wrote: > > On Mon, Mar 07, 2016 at 11:08:42AM +0100, Jiri Olsa wrote: > > > On Thu, Mar 03, 2016 at 03:57:31PM -0800, Andi Kleen wrote: > > > > > > SNIP > > > > > > > > > > > % perf stat -x, --metric-only -a -I 1000 > > > > 1.001381652,frontend cycles idle,insn per cycle,stalled cycles per insn,branch-misses of all branches, > > > > 1.001381652,173.32,0.83,2.09,1.73, > > > > 2.002073343,199.47,1.07,1.60,2.14, > > > > 3.002875524,109.52,0.22,7.83,1.63, > > > > 4.003970059,132.10,0.17,10.85,1.51, > > > > 5.004818754,181.60,0.22,8.87,2.22, > > > > > > > > > > > > Available in > > > > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6 perf/stat-metrics-21 > > > > > > this branch contains old version of: > > > perf, tools, stat: Add --metric-only support for -A > > > > Old in what way? Looks correct to me. > > > > > > commit e26ba80593023c24c8276ad9853acd7e56ca92ed > > Author: Andi Kleen > > Date: Sat Dec 19 11:22:55 2015 -0800 > > > > perf, tools, stat: Add --metric-only support for -A > > > > Add metric only support for -A too. This requires a new print > > function that prints the metrics in the right order. > > > > v2: Fix manpage > > v3: Simplify nrcpus computation > > Signed-off-by: Andi Kleen > > I did not see the change for print_no_aggr_metric function > in commit: > perf, tools, stat: Add --metric-only support for -A > > which I saw in the email.. > > however now im confused, I did not noticed I had a wrong tree, > however git can't resolve the git tree you mentioned: I pushed again. Can you try again? Probably I made some mistake with git. -Andi