summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/syscalls2.stp2
2 files changed, 5 insertions, 1 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 3449df2e..0282683a 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,5 +1,9 @@
2007-08-23 Martin Hunt <hunt@redhat.com>
+ * syscalls2.stp (sys_tee.return): Make optional
+
+2007-08-23 Martin Hunt <hunt@redhat.com>
+
* aux_syscalls.stp (_struct_compat_timeval_u): Fix
array reference.
(_struct_compat_timespec_u): Cast args to long.
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp
index 0c83b271..be605ff7 100644
--- a/tapset/syscalls2.stp
+++ b/tapset/syscalls2.stp
@@ -2514,7 +2514,7 @@ probe syscall.tee = kernel.function("sys_tee") ? {
name = "tee"
argstr = sprintf("%d, %d, %d, 0x%x", $fdin, $fdout, $len, $flags)
}
-probe syscall.tee.return = kernel.function("sys_tee").return {
+probe syscall.tee.return = kernel.function("sys_tee").return ? {
name = "tee"
retstr = returnstr(1)
}