From: Andrew Klaassen <clawsoon@yahoo.com>
To: systemtap@sourceware.org, Maynard Johnson <maynardj@us.ibm.com>
Subject: Re: SystemTap on Fedora 11
Date: Tue, 10 Feb 2009 22:53:00 -0000 [thread overview]
Message-ID: <723189.72670.qm@web65408.mail.ac4.yahoo.com> (raw)
In-Reply-To: <4991F2EC.3000604@us.ibm.com>
--- On Tue, 2/10/09, Maynard Johnson <maynardj@us.ibm.com> wrote:
> From: Maynard Johnson <maynardj@us.ibm.com>
> 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
next prev parent reply other threads:[~2009-02-10 22:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 22:44 Maynard Johnson
2009-02-10 22:53 ` Andrew Klaassen [this message]
2009-02-11 6:16 ` Maynard Johnson
2009-02-11 6:18 ` Frank Ch. Eigler
2009-02-13 20:04 ` Maynard Johnson
2009-02-13 20:43 ` David Smith
2009-02-14 14:27 ` Maynard Johnson
2009-02-15 21:24 ` Frank Ch. Eigler
2009-02-14 0:48 ` Frank Ch. Eigler
2009-09-10 17:55 ` Maynard Johnson
2009-09-11 14:15 ` David Smith
2009-09-11 14:33 ` Frank Ch. Eigler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=723189.72670.qm@web65408.mail.ac4.yahoo.com \
--to=clawsoon@yahoo.com \
--cc=maynardj@us.ibm.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).