systemtap/systemtap-no-linux-compile-h.diff

12 lines
555 B
Diff

--- translate.cxx-dist 2008-06-20 15:41:33.000000000 +0200
+++ translate.cxx 2008-06-20 15:41:49.000000000 +0200
@@ -4530,7 +4530,7 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#include <linux/utsrelease.h>";
s.op->newline() << "#include <linux/utsname.h>";
s.op->newline() << "#include <linux/version.h>";
- s.op->newline() << "#include <linux/compile.h>";
+ // s.op->newline() << "#include <linux/compile.h>";
s.op->newline() << "#include \"loc2c-runtime.h\" ";
// XXX: old 2.6 kernel hack