This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Top syscalls
- From: Hien Nguyen <hien at us dot ibm dot com>
- To: CHANG Xiaolin <changxl at ust dot hk>
- Cc: systemtap at sources dot redhat dot com
- Date: Tue, 13 Sep 2005 08:35:10 -0700
- Subject: Re: Top syscalls
- References: <43260ED4.9070203@us.ibm.com> <32828.219.239.136.141.1126571459.squirrel@sqmail.ust.hk>
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 '%{'