This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
HRTIMER_REL undefined
- From: "manjunath k" <kmanjunat at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Mon, 7 Jan 2008 12:19:37 +0530
- Subject: HRTIMER_REL undefined
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=+/A2spnTZI/xwzz9IjNJQ8Io6dk/2hdCYrdHsH8wQdQ=; b=s/OSls7d1lg9sjS1ZLk1UHyA6j8YGfl8CRk2hMWpuVU2GtZl3q0ZLTsGl6G3Ny8UT1DmMJ+rmcAZEdYGRoixvLMhk4zENvX1wB4fJlf8q4fuHBiUnuoWLXDGJyRnvgffDbaD0HopHFeKjRTeZCyDqFxQChuWEFxP8jgsax+8b6A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PlGhVU0b3hdEd7oUCoWnao328ibabA3BMrUrlbDlDMP2F0PkrGHd8i6dWCN/FCM3kQbPn5VRgj3pxB6cxJXd7MKesCQhq3b8tp8uuCstliCwNY+2XthOP9lVWgg52qE0ja0yiVEimFfAwdPusVf+sRHyoLvwaHiaWl6t2QPdoA4=
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