This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SystemTap on Fedora 11


Maynard Johnson wrote:
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?

After posting the above message back in February, I got some feedback from David S and Frank E. I tried building/installing from source, and that worked for me, so I just did my development with that instead of the Fedora systemtap RPM. Today, I went back to this same Fedora 11 G5 box and, having forgotten what I ran into back in Feb, I tried again to use systemtap from the rpm and got the same results. Is this a ppc-only issue? Systemtap works OK on F11 for other architectures?


I have the following packages installed:
	systemtap-0.9.9-3.fc11.ppc
	kernel-2.6.29.6-217.2.8.fc11.ppc64
	kernel-debuginfo-common-2.6.29.6-217.2.8.fc11.ppc64
	kernel-devel-2.6.29.6-217.2.8.fc11.ppc64
	kernel-debuginfo-2.6.29.6-217.2.8.fc11.ppc64

Does anyone have any other ideas what might be causing this problem?

Thanks.
-Maynard

Thanks. -Maynard




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]