From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932595AbdCUPrr (ORCPT ); Tue, 21 Mar 2017 11:47:47 -0400 Received: from one.firstfloor.org ([193.170.194.197]:42424 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757588AbdCUPrR (ORCPT ); Tue, 21 Mar 2017 11:47:17 -0400 Date: Tue, 21 Mar 2017 08:45:22 -0700 From: Andi Kleen To: Jiri Olsa Cc: Andi Kleen , acme@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH 10/13] perf, tools, stat: Output JSON MetricExpr metric Message-ID: <20170321154522.GK14380@two.firstfloor.org> References: <20170320201711.14142-1-andi@firstfloor.org> <20170320201711.14142-11-andi@firstfloor.org> <20170321144836.GA6931@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170321144836.GA6931@krava> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > % perf stat -a -I 1000 -e '{unc_p_clockticks,unc_p_freq_max_os_cycles}' --metric-only > > 1.000127077 0.9 > > 2.000301436 0.7 > > 3.000456379 0.0 > > The comment above suggest I'll see 'original event as description' in this example?? Yes the latest code prints % perf stat -a -I 1000 -e '{unc_p_clockticks,unc_p_freq_max_os_cycles}' --metric-only # time freq_max_os_cycles % 1.000234103 65.0 2.000478612 75.2 3.000681286 37.4 4.000847224 2.9 -Andi