From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8959 invoked by alias); 3 Nov 2010 09:30:50 -0000 Received: (qmail 8952 invoked by uid 22791); 3 Nov 2010 09:30:49 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail1.iathh.de (HELO mail1.iathh.de) (217.89.104.238) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Nov 2010 09:30:44 +0000 Received: from pc-joachim.ost.iathh.local ([192.168.10.189]) (authenticated user joachim.worringen@iathh.de) by mail1.iathh.de (Kerio Connect 7.1.0); Wed, 3 Nov 2010 10:29:57 +0100 Message-ID: <4CD12BA5.4080005@gmail.com> Date: Wed, 03 Nov 2010 09:30:00 -0000 From: Joachim Worringen Reply-To: joachim.worringen@iathh.de User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8 MIME-Version: 1.0 To: systemtap@sourceware.org Subject: @defined in schedtimes.stp Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q4/txt/msg00160.txt.bz2 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