Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934375AbbGVOaA (ORCPT ); Wed, 22 Jul 2015 10:30:00 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:36192 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933142AbbGVO36 (ORCPT ); Wed, 22 Jul 2015 10:29:58 -0400 From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Wed, 22 Jul 2015 10:36:29 -0400 (EDT) To: Peter Zijlstra cc: Vince Weaver , linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo Subject: Re: perf: multiplexing broken on amd fam16h? In-Reply-To: <20150722141036.GT25159@twins.programming.kicks-ass.net> Message-ID: References: <20150722141036.GT25159@twins.programming.kicks-ass.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1127 Lines: 28 On Wed, 22 Jul 2015, Peter Zijlstra wrote: > On Tue, Jul 21, 2015 at 02:14:54PM -0400, Vince Weaver wrote: > > If I run the perf_event_tests check_multiplexing test it fails like this: > > FWIW, that contains: > > /* we have to close, because PERF_EVENT_IOC_RESET */ > /* does not clear multiplexing informatio. */ > > Do you need that? We could add another reset ioctl with a flags argument > on what all to clear. I remember being surprised by that behavior at the time, but I don't think I've run into the issue much. PAPI (which has pretty awful multiplexing support) tends to close and reopen events anytime you change the config, rather than trying to RESET them. I'll be rebooting the A8 system with your patch shortly. $%C&^*# systemd insits on delaying reboots by 90 seconds for obscure reasons which is slowing down my testing regime a bit. Vince -- 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/