From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759029AbYLPUv0 (ORCPT ); Tue, 16 Dec 2008 15:51:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754821AbYLPUu4 (ORCPT ); Tue, 16 Dec 2008 15:50:56 -0500 Received: from smtpauth00.csee.onr.siteprotect.com ([64.26.60.144]:44303 "EHLO smtpauth00.csee.onr.siteprotect.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754527AbYLPUuz (ORCPT ); Tue, 16 Dec 2008 15:50:55 -0500 Date: Tue, 16 Dec 2008 15:55:41 -0500 (EST) From: Vince Weaver X-X-Sender: vince@pianoman.cluster.toy To: Corey Ashford cc: Ingo Molnar , linux-kernel@vger.kernel.org, Thomas Gleixner , Andrew Morton , Stephane Eranian , Eric Dumazet , Robert Richter , Arjan van de Ven , Peter Anvin , Peter Zijlstra , Paul Mackerras , "David S. Miller" , perfctr-devel@lists.sourceforge.net Subject: Re: [patch] Performance Counters for Linux, v4 In-Reply-To: <494805E4.2040008@linux.vnet.ibm.com> Message-ID: References: <20081214212829.GA9435@elte.hu> <494805E4.2040008@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Dec 2008, Corey Ashford wrote: > In common with both perfmon3 and Ingo's solution is that as more and more > events are scheduled onto the same set of hardware registers, the accuracy > drops and has to be compensated with longer run times. There seems to be some confusion. I want aggregate instruction count. I do not want any sort of scaling or sampling. When I cound retired instructions and cycles, I want the full counts for those. The q6600 definitely has more than 2 counters available, so it should be able to give me exact aggregate counts for those counters. No sampling or scaling should be involved. Is it not possible to get raw, aggregate count with Ingo's infrastructure? The documentation is vague on this. Vince