summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--translate.cxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 08b7fdfa..22d34f93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-12 Frank Ch. Eigler <fche@redhat.com>
+
+ * translate.cxx (translate_pass): Emit #include <linux/profile.h>.
+
2005-12-12 Will Cohen <wcohen@redhat.com>
* tapset/logging.stp (function_exit): Make sure systemtap probes
diff --git a/translate.cxx b/translate.cxx
index fa95966c..98c6813b 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -3460,6 +3460,7 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#include \"regs.c\"";
s.op->newline() << "#include <linux/string.h>";
s.op->newline() << "#include <linux/timer.h>";
+ s.op->newline() << "#include <linux/profile.h>";
s.op->newline() << "#endif";
s.op->newline() << "#include \"loc2c-runtime.h\" ";