Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2530005imm; Thu, 7 Jun 2018 12:11:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK0NlWWWWZeWgc9d6oaGC/doeHKIzyzkWPbyxvPQ09HacWmqnZPrb9LYNWRx9o0I86U8YLx X-Received: by 2002:a62:ca4a:: with SMTP id n71-v6mr2926469pfg.14.1528398714738; Thu, 07 Jun 2018 12:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528398714; cv=none; d=google.com; s=arc-20160816; b=EZY7U08Bhlb83loESarRuyWfCfl7UgWSj1SLLnisKTHIwtmgzmpqEmeWhI0y7Dv1Bt 2PbDnW927a/IT9C7Rg7ILmXgk2Lzyd86m02+2smLHRmCFLuhstr4FfUIhvhbxo9cr5D8 /zyynAV8R7HUhHMLS/p2U57AVsoQQCIAWn3r0mz0OYBHGx+ElH+KMNjiayWfZEbl6hMe +iEgur8X2mg88lARFe4CsVtuenwNViUVKN78GZwOuvyokL9+oaAwNaY1nlUxtkkBsctW QGCv1JN5yFp05tmKHm/j94YQfOqrxKBehALSVwCySKq6Tq7kGvTPJjIN2p7Om0eaQaVO U3yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=qTQfEd9riH/OrXmG+HYhSjGgKencFckaCCLIYATeXJk=; b=iikcmFI5jVGrJrqGCGRarNOP6iagA7swKO6xFW9h6I+c0gMQuHoU8ko5F0u4AB2YlT bmDGYP0d3iYqgqv3E1tYzukTknrHwTeXVp+QZK5CCbZUHpIB6+6pZ8QKHg4I6gAES9TF we1+bR24gxeHouFYeUQBzCUnP9S8S3OaAc/IrT+SPnsoSblGnACOpOm+LrSYvg4u/bTS yAY4yDhj7AfJedonSJE3xUB3Kd3ai4rt5fjEaFrMaG8KxZps7tKhk2x0QcIGFFndSD8Z lltoffMDiY1WcLOijgXzMhnU/cv8b7XjXNscFpfh8smKBWAswSdVxOy9Cp1yWbPiypb+ X9Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XvNRToF7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1-v6si10487782pgc.606.2018.06.07.12.11.40; Thu, 07 Jun 2018 12:11:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XvNRToF7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753679AbeFGTAe (ORCPT + 99 others); Thu, 7 Jun 2018 15:00:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:38556 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753561AbeFGTAc (ORCPT ); Thu, 7 Jun 2018 15:00:32 -0400 Received: from jouet.infradead.org (unknown [190.15.121.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 02D6D2089C; Thu, 7 Jun 2018 19:00:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528398032; bh=BQMc5sMqMKztIbFDCNkEdoG6LWICUUd74SuCF05sNUU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XvNRToF7/wXsTnUqE/KukOWgJRckDjSGsLeZ2wccmIFbeuBFmoDuaYrKzZVL9F56Y CjLy6GRNsIinQ/3UB1emJb8suuVKoMBA4fMR2ckyVpPJKd6rfYUuMdpRjuBIYMf0Gk ZJSFw2ScGwa5/yAcRTpTY/EZKIgpa8Swz9bgTkHw= Received: by jouet.infradead.org (Postfix, from userid 1000) id E0FF91468B9; Thu, 7 Jun 2018 16:00:29 -0300 (-03) Date: Thu, 7 Jun 2018 16:00:29 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Peter Zijlstra , lkml , Ingo Molnar , Namhyung Kim , David Ahern , Alexander Shishkin , Stephane Eranian , Milian Wolff , Andi Kleen , Frederic Weisbecker Subject: Re: [PATCH 05/10] perf stat: Fix metric column display Message-ID: <20180607190029.GD17292@kernel.org> References: <20180606221513.11302-1-jolsa@kernel.org> <20180606221513.11302-6-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180606221513.11302-6-jolsa@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Jun 07, 2018 at 12:15:08AM +0200, Jiri Olsa escreveu: > Make the metric only display aligned. > > Before: > # perf stat --topdown -I 1000 > # time core cpus retiring bad speculation frontend bound backend bound > 1.000394323 S0-C0 2 37.4% 12.0% 31.4% 19.2% > 1.000394323 S0-C1 2 25.1% 9.2% 43.8% 21.9% > 2.001521204 S0-C0 2 36.4% 11.4% 32.4% 19.8% > 2.001521204 S0-C1 2 26.2% 9.4% 43.1% 21.3% > 3.001930208 S0-C0 2 35.1% 10.7% 33.6% 20.6% > 3.001930208 S0-C1 2 28.9% 10.0% 40.0% 21.1% > > After: > # perf stat --topdown -I 1000 > # time core cpus retiring bad speculation frontend bound backend bound > 1.000303722 S0-C0 2 34.2% 7.6% 34.2% 24.0% > 1.000303722 S0-C1 2 33.1% 6.4% 36.9% 23.6% > 2.001281055 S0-C0 2 34.6% 6.7% 36.8% 21.8% > 2.001281055 S0-C1 2 32.8% 7.1% 38.1% 22.0% > 3.001546080 S0-C0 2 39.3% 5.5% 32.7% 22.5% > 3.001546080 S0-C1 2 37.8% 6.0% 33.1% 23.1% Thanks, tested, applied. - Arnaldo