From: Joachim Worringen <worringen@gmail.com>
To: systemtap@sourceware.org
Subject: @defined in schedtimes.stp
Date: Wed, 03 Nov 2010 09:30:00 -0000 [thread overview]
Message-ID: <4CD12BA5.4080005@gmail.com> (raw)
Greetings,
I want to use schedtimes.stp
(http://sourceware.org/systemtap/examples/process/schedtimes.stp) and it
fails on my CentOS 5.5 box:
[root@x8dth-1 systemtap]# stap schedtimes.stp
parse error: unknown statistic operator @defined
saw: identifier '@defined' at schedtimes.stp:58:13
source: if (@defined($rq) && (get_iowait($rq) -
io_wait_count[previous_pid]) > 0)
^
parse error: unknown statistic operator @defined
saw: identifier '@defined' at schedtimes.stp:76:9
source: if (@defined($rq))
^
2 parse error(s).
Pass 1: parse failed. Try again with another '--vp 1' option.
'@defined()' is part of the systemtap language, AFAICT:
http://sourceware.org/systemtap/langref/Language_elements.html#SECTION00078200000000000000
What am I missing?
This is what is installed:
[root@x8dth-1 tapset]# rpm -qa | grep systemtap
systemtap-sdt-devel-1.1-3.el5_5.2
systemtap-1.1-3.el5_5.2
systemtap-runtime-1.1-3.el5_5.2
systemtap-sdt-devel-1.1-3.el5_5.2
And this is the kernel:
[root@x8dth-1 tapset]# uname -rp
2.6.18-194.17.1.el5 x86_64
thanks, Joachim
next reply other threads:[~2010-11-03 9:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 9:30 Joachim Worringen [this message]
2010-11-03 10:02 ` Mark Wielaard
2010-11-03 10:26 ` Joachim Worringen
2010-11-03 10:36 ` Mark Wielaard
2010-11-03 11:02 ` Joachim Worringen
2010-11-04 13:32 ` Mark Wielaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CD12BA5.4080005@gmail.com \
--to=worringen@gmail.com \
--cc=joachim.worringen@iathh.de \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).