This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[patch] Fix inconsistent identification for including header file linux/utime.h in tapset
- From: Sunzen Wang <sunzen at gmail dot com>
- To: systemtap at sources dot redhat dot com
- Date: Thu, 14 May 2009 10:11:16 +0800
- Subject: [patch] Fix inconsistent identification for including header file linux/utime.h in tapset
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>>