Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030683AbWKOQsa (ORCPT ); Wed, 15 Nov 2006 11:48:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030693AbWKOQsa (ORCPT ); Wed, 15 Nov 2006 11:48:30 -0500 Received: from mx1.suse.de ([195.135.220.2]:19859 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1030683AbWKOQs2 (ORCPT ); Wed, 15 Nov 2006 11:48:28 -0500 From: Andi Kleen To: discuss@x86-64.org Subject: Re: [discuss] Re: 2.6.19-rc5: known regressions (v3) Date: Wed, 15 Nov 2006 17:48:05 +0100 User-Agent: KMail/1.9.5 Cc: William Cohen , Eric Dumazet , Andrew Morton , Komuro , Ernst Herzberg , Andre Noll , oprofile-list@lists.sourceforge.net, Jens Axboe , linux-usb-devel@lists.sourceforge.net, phil.el@wanadoo.fr, Adrian Bunk , Ingo Molnar , Alan Stern , linux-pci@atrey.karlin.mff.cuni.cz, Stephen Hemminger , Prakash Punnoor , Len Brown , Alex Romosan , Linus Torvalds , gregkh@suse.de, Linux Kernel Mailing List , "Eric W. Biederman" , Andrey Borzenkov References: <200611151150.11275.ak@suse.de> <455B4314.3010503@redhat.com> In-Reply-To: <455B4314.3010503@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611151748.05989.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1004 Lines: 21 > OProfile has a simplistic view of the performance monitoring hardware. The > routines in libop/op_alloc_counter.c determine what set of performance registers > is available from the processor in use. There is no check to see what registers > are actually available in the /dev/oprofile directory. > > opcontrol executes ophelp to determine which specific counters to count which > events. The function map_event_to_counter() in libop/op_alloc_counter.c does the > actual selection. It seems what is needed is for map_event_to_counter() to check > to see which counters are available and mark the others as unavailable Thanks for the explanation. Can you please fix it and release a new version? Documentation/Changes could be adapted then. -Andi - 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/