From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934231AbcAYTsr (ORCPT ); Mon, 25 Jan 2016 14:48:47 -0500 Received: from mail.kernel.org ([198.145.29.136]:40181 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934147AbcAYTsn (ORCPT ); Mon, 25 Jan 2016 14:48:43 -0500 Date: Mon, 25 Jan 2016 16:48:38 -0300 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Jiri Olsa , lkml , David Ahern , Namhyung Kim , Peter Zijlstra Subject: Re: 'perf stat --repeat N' oddity/regression Message-ID: <20160125194838.GB22501@kernel.org> References: <1450629119-508-1-git-send-email-jolsa@kernel.org> <20160112112341.GB26496@gmail.com> <20160112142956.GU18367@kernel.org> <20160113104254.GA9854@gmail.com> <20160125182206.GA11648@gmail.com> <20160125183511.GA24981@gmail.com> <20160125194333.GA22501@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160125194333.GA22501@kernel.org> X-Url: http://acmel.wordpress.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 Em Mon, Jan 25, 2016 at 04:43:33PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Jan 25, 2016 at 07:35:11PM +0100, Ingo Molnar escreveu: > > > > So it appears it broke somewhere between v4.0 and v4.1, as the v4.0 install > > displays: > > > > 16,244,802,268 instructions ( +- 23.01% ) > > > > 2.108676769 seconds time elapsed ( +- 0.86% ) > > > > > > [a few minutes later] > > > > Bisected it down to: > > Mel Gorman reported this and Jiri provided a patch that Mel tested and > verified that it fixed, checking where it is sitting now... I already sent it your way, its: 198 N C 01/21 Arnaldo Carvalh (1.4K) ├─>[PATCH 06/16] perf stat: Do not clean event's private stats Please pull my perf-core-for-mingo tag and you should get it, its an one liner. - Arnaldo > - Arnaldo > > > 106a94a0f8c207ef4113ce7e32f34a00b3b174e7 is the first bad commit > > commit 106a94a0f8c207ef4113ce7e32f34a00b3b174e7 > > Author: Jiri Olsa > > Date: Fri Jun 26 11:29:19 2015 +0200 > > > > perf stat: Introduce read_counters function > > > > So this look like to be a regression. > > > > Thanks, > > > > Ingo