From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751501AbcCASv7 (ORCPT ); Tue, 1 Mar 2016 13:51:59 -0500 Received: from one.firstfloor.org ([193.170.194.197]:57443 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbcCASvz (ORCPT ); Tue, 1 Mar 2016 13:51:55 -0500 Date: Tue, 1 Mar 2016 19:51:53 +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: <20160301185152.GU5083@two.firstfloor.org> References: <1456785386-19481-1-git-send-email-andi@firstfloor.org> <1456785386-19481-6-git-send-email-andi@firstfloor.org> <20160301123239.GG622@krava.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160301123239.GG622@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 > > 1.001452803 158.91% 0.66 2.39 2.92% > > 2.002192321 180.63% 0.76 2.08 2.96% > > 3.003088282 150.59% 0.62 2.57 2.84% > > 4.004369835 196.20% 0.98 1.62 3.79% > > 5.005227314 231.98% 0.84 1.90 4.71% > > could you please align values with the headers They would align if they had enough leading digits. perf stat has always right aligned numbers. Presumably the field sizes could be shrunk, but in some extreme cases you could still have that many digits. So it's better to keep it as it is. -Andi