From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15533 invoked by alias); 20 Mar 2006 17:27:10 -0000 Received: (qmail 15525 invoked by uid 22791); 20 Mar 2006 17:27:09 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 20 Mar 2006 17:27:08 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k2KHR6wb012609 for ; Mon, 20 Mar 2006 12:27:06 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k2KHR5125933; Mon, 20 Mar 2006 12:27:05 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k2KHR4xX014387; Mon, 20 Mar 2006 12:27:04 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 3031C80022C; Mon, 20 Mar 2006 12:27:04 -0500 (EST) Received: from ton.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by ton.toronto.redhat.com (8.13.1/8.13.1) with ESMTP id k2KHR34v011545; Mon, 20 Mar 2006 12:27:03 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k2KHR3wt011544; Mon, 20 Mar 2006 12:27:03 -0500 Date: Mon, 20 Mar 2006 17:27:00 -0000 From: "Frank Ch. Eigler" To: William Cohen Cc: systemtap@sources.redhat.com Subject: Re: Proposed systemtap access to perfmon hardware Message-ID: <20060320172703.GA3065@redhat.com> References: <44183FCF.6010809@redhat.com> <441AE1DE.2040207@redhat.com> <441B1B5E.8090401@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <441B1B5E.8090401@redhat.com> User-Agent: Mutt/1.4.1i Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00833.txt.bz2 Hi - wcohen wrote: > [...] > > [...] > > Is that sufficiently detailed to begin an implementation? > > Pretty close. The one thing that isn't answered is the division of > the labor for the sampling probes, onetime setup vs sample handler. > [...] In other words, the issue is the desire to control sampling-event-type counters, not just the free-running counters. In this case, one might use both ".setup" and ".sample" probes for the same SPEC: # probe perfctr.SPEC.setup { h = $handle } # probe perfctr.SPEC.sample(1234) { /* like timer.profile */ } # probe ANY { ... perfctr_{start,stop,query} (h) ... } - FChE