Top syscalls

Hien Nguyen hien@us.ibm.com
Tue Sep 13 15:35:00 GMT 2005


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 '%{'
>  
>



More information about the Systemtap mailing list