summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-08-19 21:50:42 +0000
committerfche <fche>2005-08-19 21:50:42 +0000
commit98afd80eb5038542fa3a98c75528524b5d4287b6 (patch)
tree2b968e1c8523fd50596431e09f936290220a0d29 /translate.cxx
parentefc364eebf15dd7e8b6c93e155af83b6d3971752 (diff)
downloadsystemtap-steved-98afd80eb5038542fa3a98c75528524b5d4287b6.tar.gz
systemtap-steved-98afd80eb5038542fa3a98c75528524b5d4287b6.tar.xz
systemtap-steved-98afd80eb5038542fa3a98c75528524b5d4287b6.zip
2005-08-19 Frank Ch. Eigler <fche@elastic.org>
PR systemtap/1209 * tapsets.cxx * elaborate.cxx (derived_probe_builder): Add get_param function. * elaborate.h: Declare them. * tapsets.cxx (dwarf_query::get_*_param): Call them. (timer_derived_probe, timer_builder): New classes. (register_standard_tapsets): Register timer.jiffies(N) and friend. * translate.cxx (translate_pass): #include <linux/timers.h>. * stap.1.in: Document timer.jiffies(N) probe points. * testsuite/buildok/fourteen.stp: New test. 2005-08-19 Frank Ch. Eigler <fche@elastic.org> * arith.c (_stp_random_pm): New function.
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 c2425b84..1a8e23b1 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -2165,6 +2165,7 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#else";
s.op->newline() << "#include \"runtime.h\"";
s.op->newline() << "#include <linux/string.h>";
+ s.op->newline() << "#include <linux/timer.h>";
// XXX
s.op->newline() << "#define KALLSYMS_LOOKUP_NAME \"\"";
s.op->newline() << "#define KALLSYMS_LOOKUP 0";