From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12271 invoked by alias); 22 Mar 2006 18:30:22 -0000 Received: (qmail 12264 invoked by uid 22791); 22 Mar 2006 18:30:21 -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; Wed, 22 Mar 2006 18:30:19 +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 k2MHwi2N022501; Wed, 22 Mar 2006 12:58:45 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k2MHwiGu027115; Wed, 22 Mar 2006 12:58:44 -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 k2MHwixX000522; Wed, 22 Mar 2006 12:58:44 -0500 Received: from ton.toronto.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 362958003B3; Wed, 22 Mar 2006 12:58:44 -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 k2MHwhJQ010901; Wed, 22 Mar 2006 12:58:43 -0500 Received: (from fche@localhost) by ton.toronto.redhat.com (8.13.1/8.13.1/Submit) id k2MHwb8h010522; Wed, 22 Mar 2006 12:58:37 -0500 X-Authentication-Warning: ton.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: Maynard Johnson Cc: systemtap@sources.redhat.com Subject: Re: Proposed systemtap access to perfmon hardware References: <44183FCF.6010809@redhat.com> <4420C5A2.9060702@us.ibm.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 22 Mar 2006 18:30:00 -0000 In-Reply-To: <4420C5A2.9060702@us.ibm.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00853.txt.bz2 maynardj wrote: > [...] Several aspects of the script interface to the performance counters was changed later in this thread: please check that too. > >The performance monitoring events are specified in strings. The > >information at the very least include the event name being monitored > [...] > Should the event name be the native event name for the arch? Or some > generic name that is mapped to a native name by some mechanism? Or > either (as in PAPI)? It may be sufficient to use systemtap's general abstraction mechanisms to map between generic and native event names, in much the same way as the system-call tapset defines generic names ("syscall.read") in terms of native functions ("kernel.function(...)"). This aliasing widget may need some extension in order to deal with parameters or partial matches; we'll know after someone constructs an informal generic<->native event name dictionary. - FChE