From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757158AbcCCI2Y (ORCPT ); Thu, 3 Mar 2016 03:28:24 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36140 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756574AbcCCI2X (ORCPT ); Thu, 3 Mar 2016 03:28:23 -0500 Date: Thu, 3 Mar 2016 09:28:18 +0100 From: Ingo Molnar To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Andi Kleen , Stephane Eranian , Arnaldo Carvalho de Melo Subject: Re: [PATCH 05/11] perf stat: Check existence of frontend/backed stalled cycles Message-ID: <20160303082818.GB13523@gmail.com> References: <1456773727-3005-1-git-send-email-acme@kernel.org> <1456773727-3005-6-git-send-email-acme@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456773727-3005-6-git-send-email-acme@kernel.org> 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 * Arnaldo Carvalho de Melo wrote: > Before: > > $ perf stat ls > a.patch > > Performance counter stats for 'ls': > > 0.822067 task-clock (msec) # 0.873 CPUs utilized (82.26%) > 0 context-switches # 0.000 K/sec (82.26%) > 0 cpu-migrations # 0.000 K/sec (82.26%) > 125 page-faults # 0.152 M/sec (82.26%) > 2,516,127 cycles # 3.061 GHz (82.84%) > stalled-cycles-frontend > stalled-cycles-backend > 2,430,467 instructions # 0.97 insn per cycle (82.84%) > 486,235 branches # 591.479 M/sec (82.84%) > 18,389 branch-misses # 3.78% of all branches (82.84%) > > 0.000941536 seconds time elapsed > $ > > After: > > $ perf stat ls > a.patch > > Performance counter stats for 'ls': > > 0.824919 task-clock (msec) # 0.893 CPUs utilized (85.47%) > 0 context-switches # 0.000 K/sec (85.47%) > 0 cpu-migrations # 0.000 K/sec (85.47%) > 124 page-faults # 0.150 M/sec (85.47%) > 2521790 cycles # 3.057 GHz (86.15%) > 2364913 instructions # 0.94 insn per cycle (86.15%) > 471970 branches # 572.141 M/sec (86.15%) > 16935 branch-misses # 3.59% of all branches (86.15%) > > 0.000923397 seconds time elapsed > $ Btw., the output format regression is visible in this changelog already... Thanks, Ingo