From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754227AbcCAOxp (ORCPT ); Tue, 1 Mar 2016 09:53:45 -0500 Received: from one.firstfloor.org ([193.170.194.197]:56561 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753690AbcCAOxo (ORCPT ); Tue, 1 Mar 2016 09:53:44 -0500 Date: Tue, 1 Mar 2016 15:53:42 +0100 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 5/7] perf, tools, stat: Implement --metric-only mode Message-ID: <20160301145342.GR5083@two.firstfloor.org> References: <1456785386-19481-1-git-send-email-andi@firstfloor.org> <1456785386-19481-6-git-send-email-andi@firstfloor.org> <20160301123225.GF622@krava.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160301123225.GF622@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 > > > > % perf stat -a -I 1000 --metric-only > > 1.001452803 frontend cycles idle insn per cycle stalled cycles per insn branch-misses of all branches > > where does 'frontend' collumn come from? > can't see it in the code or get it in output.. It comes from the shadow stats. All the columns are collected from there. Probably your CPU doesn't implement it. I try to hide it when it's not supported. -Andi