summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-hrtimer-rel.c
diff options
context:
space:
mode:
authorfche <fche>2007-03-19 19:19:38 +0000
committerfche <fche>2007-03-19 19:19:38 +0000
commit255e4c681ec42ab8a88ac60d1a31fd8209a90fb1 (patch)
tree7905fbb9c92fd717937ded0be75a38c89dad8ef4 /runtime/autoconf-hrtimer-rel.c
parent99c3c059961e9abdf76b92e9ab22fe26b929ec20 (diff)
downloadsystemtap-steved-255e4c681ec42ab8a88ac60d1a31fd8209a90fb1.tar.gz
systemtap-steved-255e4c681ec42ab8a88ac60d1a31fd8209a90fb1.tar.xz
systemtap-steved-255e4c681ec42ab8a88ac60d1a31fd8209a90fb1.zip
2007-03-19 Frank Ch. Eigler <fche@elastic.org>
* buildrun.cxx (compile_pass): Emit kbuild-time autoconf widgets to customize runtime or translator C code to actual kernel rather than kernel version string. Thanks to FC 2.6."20" for the nudge. * tapsets.cxx (hrtimer*emit_module): First client: HRTIMER_{MODE_}REL. 2007-03-19 Frank Ch. Eigler <fche@elastic.org> * autoconf-hrtimer-rel.c: New file.
Diffstat (limited to 'runtime/autoconf-hrtimer-rel.c')
-rw-r--r--runtime/autoconf-hrtimer-rel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/autoconf-hrtimer-rel.c b/runtime/autoconf-hrtimer-rel.c
new file mode 100644
index 00000000..b7910be8
--- /dev/null
+++ b/runtime/autoconf-hrtimer-rel.c
@@ -0,0 +1,3 @@
+#include <linux/hrtimer.h>
+
+int x = HRTIMER_REL; /* as opposed to HRTIMER_MODE_REL */