This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: HRTIMER_REL undefined
- From: "manjunath k" <kmanjunat at gmail dot com>
- To: "Srikar Dronamraju" <srikar at linux dot vnet dot ibm dot com>
- Cc: systemtap at sourceware dot org
- Date: Fri, 28 Mar 2008 11:40:04 +0530
- Subject: Re: HRTIMER_REL undefined
- 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=
- References: <2c09dd780801062249l43654cf3jd682fb39d44320ce@mail.gmail.com> <20080107081733.GA24267@linux.vnet.ibm.com>
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 <srikar@linux.vnet.ibm.com> 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 <kmanjunat@gmail.com> [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 <linux/hrtimer.h>
> > 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
>