From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6105 invoked by alias); 28 Mar 2008 06:10:24 -0000 Received: (qmail 6097 invoked by uid 22791); 28 Mar 2008 06:10:23 -0000 X-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 28 Mar 2008 06:10:06 +0000 Received: by py-out-1112.google.com with SMTP id a73so140773pye.33 for ; Thu, 27 Mar 2008 23:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cVnt8j0vUeibwHDBXo/uGOlSev1MJRjJC2Ba8AXwIbI=; b=IY8++5LhtZ/l9B9GIU/qWwwhnVTKCymqRF0bW5eMZ6CeHA8FuJMKz+RfxWyDLoO9OP4uGNNn32AnLxi7PaRnHG7jPmMNbU2CVNzHoYeF85DETPF7TLlT1KBxBO03oIWV5wVEBjotvPl4rFu+khHTKRUmo+CHLayJFfVQsIt2L4Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xf024oizWQrb0CvcMKssmK/Cza9OI8VdvLPJKdk9CUs2QPBkDgwZASjTDRAQA555avqFknAvkVfiAnqlHOaF1zv216ZnpIpFlq8Hq+uuW4wuX9eDdx5IG050vgu1wM1dx3LAeWUbHqLoEg2qEuMt4oz0ybBT2rFIy33tMyrpOCY= Received: by 10.65.242.11 with SMTP id u11mr5518207qbr.92.1206684604108; Thu, 27 Mar 2008 23:10:04 -0700 (PDT) Received: by 10.64.21.5 with HTTP; Thu, 27 Mar 2008 23:10:04 -0700 (PDT) Message-ID: <2c09dd780803272310p59f018e5p22e02b50ec8975bd@mail.gmail.com> Date: Fri, 28 Mar 2008 06:10:00 -0000 From: "manjunath k" To: "Srikar Dronamraju" Subject: Re: HRTIMER_REL undefined Cc: systemtap@sourceware.org In-Reply-To: <20080107081733.GA24267@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2c09dd780801062249l43654cf3jd682fb39d44320ce@mail.gmail.com> <20080107081733.GA24267@linux.vnet.ibm.com> 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: 2008-q1/txt/msg00514.txt.bz2 Hi, Ive changed the HRTIMER_REL to HRTIMER_MODE_REL in the src/runtime/autoconf-hrtimer-rel.c file and it is working fine. Is this fix OK. -Manjunath On 1/7/08, Srikar Dronamraju wrote: > > > Whats is your kernel version and SystemTap version? > > There were changes in Kernel around 2.6.21 which made HRTIMER_REL to > HRTIMER_MODE_REL. The versions of SystemTap later than April 2007 > should have changes to work with these kernel changes. > > Regards > Srikar > > * manjunath k [2008-01-07 12:19:37]: > > > > Hi, > > > > When im trying to build the stap scripts with the HRTIMER_REL option, > > an error is noticed as "HRTIMER_REL" undefined. > > > > When the following line is commented the stap scripts start building > > without an error. > > > > "module_cflags << " += $(call stap_check_build, > > $(SYSTEMTAP_RUNTIME)/autoconf-hrtimer-rel.c, -DSTAPCONF_HRTIMER_REL,)" > > > > The runtime/autoconf-hrtimer-rel.c has the following code in it > > > > #include > > int x = HRTIMER_REL; /* as opposed to HRTIMER_MODE_REL */ > > > > But the HRTIMER_REL is not defined in linux/hrtimer.h header file. > > > > What is the solution for this problem ? > > > > - Manjunath >