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: Top syscalls


CHANG Xiaolin wrote:

I try topsys.stp. There is error as follows:

===============================
[root@localhost src]# ./stap -g testsuite/transok/topsys.stp
parse error: expected '('
saw: operator ':' at testsuite/transok/topsys.stp:5:22
parse error: expected '('
saw: operator ':' at testsuite/transok/topsys.stp:58:24
2 parse error(s).
==================================
Could u pls tell me the reason?



You are running an older version of systemtap, I suggest you uninstall the systemtap version on your system. and build the latest systemtap from CVS (./configure, make, make install).


Note: make sure that you remove older systemtap, if you install systemtap using (make, make install) try
rm -rf /usr/local/bin/stap /usr/local/libexec/systemtap /usr/local/share/systemtap


if you install systemtap via an rpm
rpm -e systemtap


In addition, there is error of buildok/two.stp, which is PASS when "make
check"
===========


Don't know about this. But install new systemtap should help.

[root@localhost src]# ./stap -v testsuite/buildok/two.stp
Created temporary directory "/tmp/stap5xtalB"
parse error: expected 'probe', 'global', 'function', or '%{'




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