From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31955 invoked by alias); 13 Feb 2006 22:12:31 -0000 Received: (qmail 31948 invoked by uid 22791); 13 Feb 2006 22:12:31 -0000 X-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from fmr23.intel.com (HELO scsfmr003.sc.intel.com) (143.183.121.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 13 Feb 2006 22:12:30 +0000 Received: from scsfmr100.sc.intel.com (scsfmr100.sc.intel.com [10.3.253.9]) by scsfmr003.sc.intel.com (8.12.10/8.12.10/d: major-outer.mc,v 1.1 2004/09/17 17:50:56 root Exp $) with ESMTP id k1DMCMm8006861; Mon, 13 Feb 2006 22:12:22 GMT Received: from scsmsxvs041.sc.intel.com (scsmsxvs041.sc.intel.com [10.3.90.10]) by scsfmr100.sc.intel.com (8.12.10/8.12.10/d: major-inner.mc,v 1.2 2004/09/17 18:05:01 root Exp $) with SMTP id k1DFNh5q024618; Mon, 13 Feb 2006 15:23:50 GMT Received: from scsmsx332.amr.corp.intel.com ([10.3.90.6]) by scsmsxvs041.sc.intel.com (SAVSMTP 3.1.7.47) with SMTP id M2006021314122106004 ; Mon, 13 Feb 2006 14:12:21 -0800 Received: from scsmsx403.amr.corp.intel.com ([10.3.90.18]) by scsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 13 Feb 2006 14:12:21 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Global constants Date: Mon, 13 Feb 2006 22:12:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Global constants Thread-Index: AcYw4VqPIiZlxWIcSR+05Ed6HpIM+AACDOjg From: "Stone, Joshua I" To: "Frank Ch. Eigler" Cc: X-OriginalArrivalTime: 13 Feb 2006 22:12:22.0031 (UTC) FILETIME=[8FD661F0:01C630EA] X-Scanned-By: MIMEDefang 2.52 on 10.3.253.9 X-IsSubscribed: yes 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/msg00505.txt.bz2 Frank Ch. Eigler wrote: > That would still burden the tapset programmer to add the necessary > %{ #include %}'s to define all those macros. Good point. > [...] > This could be a plausible solution for bug #1304 (with the addition of > some type data). But I would like to aim for something that can be > set at startup time rather than compile time. That would be an > element of bug #2208, where precompiled probe modules may be reused. > That in turn is more useful if they can be parametrized. Now that I've looked at those bug #s, I tend to agree - a more general solution for script parameters is needed. It's still possible to "fake" parameters with macros, but given the limitations I don't think we need more language features around this idea. Josh