summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2010-02-09 16:28:32 -0500
committerStan Cox <scox@redhat.com>2010-02-09 16:28:32 -0500
commit6878a54351f98eff364ba8e9b43bc69a7d63f789 (patch)
treea4b02150b4918a05cc6a078f2d2e23cf0c25c7da
parent685814768d61e47d491a81271f04de8b421acc4d (diff)
parent82d819db2debd4831a11139fe81781f2c4566ef8 (diff)
downloadsystemtap-steved-6878a54351f98eff364ba8e9b43bc69a7d63f789.tar.gz
systemtap-steved-6878a54351f98eff364ba8e9b43bc69a7d63f789.tar.xz
systemtap-steved-6878a54351f98eff364ba8e9b43bc69a7d63f789.zip
Merge branch 'master' of ssh://sourceware.org/git/systemtap
-rw-r--r--tapset/x86_64/syscalls.stp8
1 files changed, 3 insertions, 5 deletions
diff --git a/tapset/x86_64/syscalls.stp b/tapset/x86_64/syscalls.stp
index 79a5181e..5ad064a2 100644
--- a/tapset/x86_64/syscalls.stp
+++ b/tapset/x86_64/syscalls.stp
@@ -145,16 +145,14 @@ probe syscall.vm86_warning.return = kernel.function("sys32_vm86_warning").return
# pipe _______________________________________________________
#
# long sys32_pipe(int __user *fd)
-#
-%(kernel_v < "2.6.32" %?
-probe syscall.pipe32 = kernel.function("sys32_pipe")
+# Not available in newer kernels.
+probe syscall.pipe32 = kernel.function("sys32_pipe")?
{
name = "pipe"
argstr = sprintf("%p", $fd)
}
-probe syscall.pipe32.return = kernel.function("sys32_pipe").return
+probe syscall.pipe32.return = kernel.function("sys32_pipe").return?
{
name = "pipe"
retstr = returnstr(1)
}
-%)