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: @defined in schedtimes.stp


On Wed, 2010-11-03 at 10:30 +0100, Joachim Worringen wrote:
> 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
> [...]
> '@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

@defined was introduced in systemtap 1.2 and you are using version 1.1.
The latest systemtap release is version 1.3 BTW.

Cheers,

Mark


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