summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorjistone <jistone>2006-03-30 00:00:29 +0000
committerjistone <jistone>2006-03-30 00:00:29 +0000
commit56894e91234245e0d343101489bd36f25f58dcb9 (patch)
tree8ab192e5b0f9f95ec8f97db6481d3cfe5e365aba /translate.cxx
parent6c416c80f46485576f01d07bc750298424f92013 (diff)
downloadsystemtap-steved-56894e91234245e0d343101489bd36f25f58dcb9.tar.gz
systemtap-steved-56894e91234245e0d343101489bd36f25f58dcb9.tar.xz
systemtap-steved-56894e91234245e0d343101489bd36f25f58dcb9.zip
2006-03-29 Josh Stone <joshua.i.stone@intel.com>
* tapsets.cxx (hrtimer_derived_probe::*): creates a probe point based on the hrtimer APIs. * tapsets.cxx (hrtimer_builder::*): parses the user's time-spec into a 64-bit nanosecond value, and calls the appropriate derived_probe. * tapsets.cxx (register_standard_tapsets): add hrtimer bindings * translate.cxx (translate_pass): add linux/random.h include, used for generating 64-bit random numbers for hrtimers.
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index 94c6147a..35a17c23 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -3788,6 +3788,7 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#include <linux/timer.h>";
s.op->newline() << "#include <linux/delay.h>";
s.op->newline() << "#include <linux/profile.h>";
+ s.op->newline() << "#include <linux/random.h>";
s.op->newline() << "#include \"loc2c-runtime.h\" ";
// XXX: old 2.6 kernel hack