This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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>>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]