From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751622AbZG1OkN (ORCPT ); Tue, 28 Jul 2009 10:40:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751110AbZG1OkM (ORCPT ); Tue, 28 Jul 2009 10:40:12 -0400 Received: from viefep20-int.chello.at ([62.179.121.40]:26408 "EHLO viefep20-int.chello.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000AbZG1OkL (ORCPT ); Tue, 28 Jul 2009 10:40:11 -0400 X-SourceIP: 213.93.53.227 Subject: Re: [RFC][PATCH 5/5] perfcounter: Add support for kernel hardware breakpoints From: Peter Zijlstra To: Mathieu Desnoyers Cc: Frederic Weisbecker , prasad@linux.vnet.ibm.com, Ingo Molnar , LKML , Steven Rostedt , Thomas Gleixner , Mike Galbraith , Paul Mackerras , Arnaldo Carvalho de Melo , Lai Jiangshan , Anton Blanchard , Li Zefan , Zhaolei , KOSAKI Motohiro , Alan Stern In-Reply-To: <20090728140459.GA30412@Krystal> References: <1248445569.6987.74.camel@twins> <20090724174723.GA11985@nowhere> <1248519416.5780.12.camel@laptop> <20090725141918.GA5295@nowhere> <1248538972.5780.25.camel@laptop> <20090725235702.GA5082@in.ibm.com> <1248684817.6987.1573.camel@twins> <20090728010349.GB5147@nowhere> <1248765877.6987.2754.camel@twins> <20090728140459.GA30412@Krystal> Content-Type: text/plain Date: Tue, 28 Jul 2009 16:42:42 +0200 Message-Id: <1248792162.6987.3013.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2009-07-28 at 10:04 -0400, Mathieu Desnoyers wrote: > As you see, none of these 2 ways to gather trace data allow statistical > RR. Therefore, having this feature in the low-level API does not seem to > make sense for tracing. I'm not asking for it to be available in the low level API. Quite contrary, I'm saying that the current API is too high level and pretty useless for perf counters.