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]

HRTIMER_REL undefined


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


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