summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog6
-rw-r--r--tapset/syscalls2.stp5
2 files changed, 7 insertions, 4 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 40076fba..c574975c 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,6 +1,10 @@
2006-06-09 Martin Hunt <hunt@redhat.com>
- * syscalls2.stp: Fixed the uid and gid calls.
+ * syscalls2.stp: Fix sys_sync.
+
+2006-06-09 Martin Hunt <hunt@redhat.com>
+
+ * syscalls2.stp: Fixed the uid and gid calls.
2006-06-09 Li Guanglei <guanglei@cn.ibm.com>
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp
index 872c202f..aa26b75c 100644
--- a/tapset/syscalls2.stp
+++ b/tapset/syscalls2.stp
@@ -1924,12 +1924,11 @@ probe syscall.symlink.return = kernel.function("sys_symlink").return {
# asmlinkage long
# sys_sync(void)
#
-probe syscall.sync = kernel.function("do_sync") {
+probe syscall.sync = kernel.function("sys_sync") {
name = "sync"
- wait = $wait
argstr = ""
}
-probe syscall.sync.return = kernel.function("do_sync").return {
+probe syscall.sync.return = kernel.function("sys_sync").return {
name = "sync"
retstr = returnstr(1)
}