From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21938 invoked by alias); 10 Feb 2009 22:00:32 -0000 Received: (qmail 21929 invoked by uid 22791); 10 Feb 2009 22:00:31 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from web65408.mail.ac4.yahoo.com (HELO web65408.mail.ac4.yahoo.com) (76.13.9.28) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 10 Feb 2009 22:00:26 +0000 Received: (qmail 73643 invoked by uid 60001); 10 Feb 2009 22:00:23 -0000 Message-ID: <723189.72670.qm@web65408.mail.ac4.yahoo.com> Received: from [206.223.182.162] by web65408.mail.ac4.yahoo.com via HTTP; Tue, 10 Feb 2009 14:00:23 PST Date: Tue, 10 Feb 2009 22:53:00 -0000 From: Andrew Klaassen Reply-To: clawsoon@yahoo.com Subject: Re: SystemTap on Fedora 11 To: systemtap@sourceware.org, Maynard Johnson In-Reply-To: <4991F2EC.3000604@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00417.txt.bz2 --- On Tue, 2/10/09, Maynard Johnson wrote: > From: Maynard Johnson > Subject: SystemTap on Fedora 11 > To: systemtap@sourceware.org > Date: Tuesday, February 10, 2009, 1:34 PM > Hi, > I plan on doing some systemtap development on a Fedora 11 > G5 box. Started out by just installing the F11 systemtap > rpm and tried the HelloWorld example from > /usr/share/doc/systemtap-0.8/examples/general, but I get a > bunch of error messages, as follows: > > [ppcteam@localhost general]$ sudo stap -p4 helloworld.stp > parse error: command line argument index 1 out of range > [1-0] > at: operator '' at > /usr/share/systemtap/tapset/argv.stp:15:29 > source: %( $# >= 1 %? argv[1]=@1 %) > ^ > parse error: command line argument index 2 out of range > [1-0] > at: operator '' at > /usr/share/systemtap/tapset/argv.stp:16:29 > source: %( $# >= 2 %? argv[2]=@2 %) > > ..... lots more of the same kind of thing > > The verbose option doesn't help any. I'm just > getting my feet wet with SystemTap, so maybe this is > something simple I'm missing. Any idea what might be > causing this? Looks like the script is looking for an argument. What if you run something like this? sudo stap -p4 helloworld.stp foo Andrew