summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2005-12-12 21:28:45 +0000
committerfche <fche>2005-12-12 21:28:45 +0000
commite0ab3ee9f3d94de9644c76b4ebcd3a7738c58522 (patch)
tree694fc00b96f8e421cf48ef9f48397b23ff9254a3
parent3513970ea8455dd69926973112d2906010107808 (diff)
downloadsystemtap-steved-e0ab3ee9f3d94de9644c76b4ebcd3a7738c58522.tar.gz
systemtap-steved-e0ab3ee9f3d94de9644c76b4ebcd3a7738c58522.tar.xz
systemtap-steved-e0ab3ee9f3d94de9644c76b4ebcd3a7738c58522.zip
2005-12-12 Frank Ch. Eigler <fche@redhat.com>
* translate.cxx (translate_pass): Emit #include <linux/profile.h>.
-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\" ";