[patch] Fix inconsistent identification for including header file linux/utime.h in tapset
Sunzen Wang
sunzen@gmail.com
Thu May 14 02:11:00 GMT 2009
Fix inconsistent identification for including header file
linux/utime.h in tapset/aux_syscalls.stp.
When examining a generated C code file, the inconsistent
identification was found, and is located to the trivial problem in
tapset/aux_syscalls.stp.
--
diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp
index 009b053..9cb7a3d 100644
--- a/tapset/aux_syscalls.stp
+++ b/tapset/aux_syscalls.stp
@@ -60,10 +60,10 @@ function _struct_timezone_u:string(uaddr:long)
%}
%{
- // Needed for the following four functions
- // _struct_utimbuf_actime, _struct_utimbuf_modtime,
- // _struct_compat_utimbuf_actime, _struct_compat_utimbuf_modtime
- #include <linux/utime.h>
+// Needed for the following four functions
+// _struct_utimbuf_actime, _struct_utimbuf_modtime,
+// _struct_compat_utimbuf_actime, _struct_compat_utimbuf_modtime
+#include <linux/utime.h>
%}
// Returns the value of the actime field of a utimbuf in user space
--
sunzen
<<freedom & enjoyment>>
More information about the Systemtap
mailing list