From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19619 invoked by alias); 10 Feb 2009 22:44:46 -0000 Received: (qmail 19611 invoked by uid 22791); 10 Feb 2009 22:44:46 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from e5.ny.us.ibm.com (HELO e5.ny.us.ibm.com) (32.97.182.145) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Feb 2009 22:44:37 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1AMg8CW015653 for ; Tue, 10 Feb 2009 17:42:08 -0500 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n1AMiZQs195272 for ; Tue, 10 Feb 2009 17:44:35 -0500 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1AMiZuE006362 for ; Tue, 10 Feb 2009 17:44:35 -0500 Received: from [127.0.0.1] (sig-9-76-105-114.mts.ibm.com [9.76.105.114]) by d01av01.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n1AMiW1k006277; Tue, 10 Feb 2009 17:44:34 -0500 Message-ID: <49920351.5020303@us.ibm.com> Date: Wed, 11 Feb 2009 06:16:00 -0000 From: Maynard Johnson User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: clawsoon@yahoo.com CC: systemtap@sourceware.org Subject: Re: SystemTap on Fedora 11 References: <723189.72670.qm@web65408.mail.ac4.yahoo.com> In-Reply-To: <723189.72670.qm@web65408.mail.ac4.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg00418.txt.bz2 Andrew Klaassen wrote: > --- 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 The helloworld.meta file did not indicate an argument was needed, but I tried passing one anyway, as you suggested . . . no luck. -Maynard > > Andrew > > > > >