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: stap parse error


"l ss" <suansuan412@hotmail.com> writes:

> [...]
> It builds, and I get some errors during make check.

There are a number of expected failures.  Most of them have
intentional errors and thus are marked XFAIL.  The buildko/one.stp
test is one of these.

> [root@lss src]# ./stap testsuite/buildko/one.stp
> parse error: expected 'probe', 'global', 'function', or '%{'
>         saw: operator '.' at testsuite/buildko/one.stp:3:1
> [...]

If you look at the buildko/one.stp file, you'll see that in fact it is
a /bin/sh shell script, since it needs to pass "-g -p4" to stap.  In
general, the .stp files are executable scripts, so you can just run

# .../testsuite/buildko/one.stp

directly.

- FChE


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