Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753945AbbGUTcf (ORCPT ); Tue, 21 Jul 2015 15:32:35 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:43467 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752510AbbGUTce (ORCPT ); Tue, 21 Jul 2015 15:32:34 -0400 Date: Tue, 21 Jul 2015 21:32:24 +0200 From: Peter Zijlstra To: Vince Weaver Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo Subject: Re: perf: multiplexing broken on amd fam16h? Message-ID: <20150721193224.GW19282@twins.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 21 On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote: > Hello > > I have a new AMD A8 system and perf multiplexing support is acting weird. > > If I run the perf_event_tests check_multiplexing test it fails like this: > > Event TotalCount RawCount Scale ScaledCount Error > 0 500282143 150403975 -2.00 (c8050b5 fffffffff9c224ef) -300807950 160.13% > > So the problem is that the TOTAL_TIME_RUNNING value is negative, which as > far as I know shouldn't be possible. Correct, that should not happen. I don't have a Fam16 machine, but I can try and stare at the code a wee bit. Although there's another few perf issues I am still looking into as well :/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/