summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2007-08-23 14:06:45 +0000
committerhunt <hunt>2007-08-23 14:06:45 +0000
commitb5e5c7f2e2869948407fc16f57b0fd8ef3db62f5 (patch)
tree274e916064454e85fdfe1b86db62de4d52d5d8bc
parented4eba9eb943f6cff4333a34613519709fcc2624 (diff)
downloadsystemtap-steved-b5e5c7f2e2869948407fc16f57b0fd8ef3db62f5.tar.gz
systemtap-steved-b5e5c7f2e2869948407fc16f57b0fd8ef3db62f5.tar.xz
systemtap-steved-b5e5c7f2e2869948407fc16f57b0fd8ef3db62f5.zip
2007-08-23 Martin Hunt <hunt@redhat.com>
* syscalls2.stp (sys_tee.return): Make optional
-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)
}