From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933304AbcAYSWN (ORCPT ); Mon, 25 Jan 2016 13:22:13 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33984 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932860AbcAYSWL (ORCPT ); Mon, 25 Jan 2016 13:22:11 -0500 Date: Mon, 25 Jan 2016 19:22:06 +0100 From: Ingo Molnar To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , David Ahern , Namhyung Kim , Peter Zijlstra Subject: 'perf stat --repeat N' oddity/regression Message-ID: <20160125182206.GA11648@gmail.com> References: <1450629119-508-1-git-send-email-jolsa@kernel.org> <20160112112341.GB26496@gmail.com> <20160112142956.GU18367@kernel.org> <20160113104254.GA9854@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160113104254.GA9854@gmail.com> 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 So I just noticed this 'perf stat --repeat' oddity: triton:~/tip> perf stat --repeat 3 -a -e instructions taskset 1 perf bench sched pipe -l 1000000 # Running 'sched/pipe' benchmark: # Executed 1000000 pipe operations between two processes Total time: 2.068 [sec] 2.068208 usecs/op 483510 ops/sec # Running 'sched/pipe' benchmark: # Executed 1000000 pipe operations between two processes Total time: 2.097 [sec] 2.097126 usecs/op 476843 ops/sec # Running 'sched/pipe' benchmark: # Executed 1000000 pipe operations between two processes Total time: 2.091 [sec] 2.091716 usecs/op 478076 ops/sec Performance counter stats for 'system wide' (3 runs): 12,690,156,407 instructions 2.087612423 seconds time elapsed ( +- 0.43% ) the stddev printout of 'instructions' is gone! This defeats the main purpose of --repeat. The 'elapsed' time +- stddev/noise display (which is still present) is only part of the story. I'm pretty sure we had the printout for all the measured fields a couple of months ago - does any of you know what happened to it? Thanks, Ingo