public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "manjunath k" <kmanjunat@gmail.com>
To: "Srikar Dronamraju" <srikar@linux.vnet.ibm.com>
Cc: systemtap@sourceware.org
Subject: Re: HRTIMER_REL undefined
Date: Fri, 28 Mar 2008 06:10:00 -0000	[thread overview]
Message-ID: <2c09dd780803272310p59f018e5p22e02b50ec8975bd@mail.gmail.com> (raw)
In-Reply-To: <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
>

  reply	other threads:[~2008-03-28  6:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07  6:49 manjunath k
2008-01-07  8:23 ` Srikar Dronamraju
2008-03-28  6:10   ` manjunath k [this message]
2008-03-28 13:54     ` Frank Ch. Eigler

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=2c09dd780803272310p59f018e5p22e02b50ec8975bd@mail.gmail.com \
    --to=kmanjunat@gmail.com \
    --cc=srikar@linux.vnet.ibm.com \
    --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).