diff options
author | Dave Brolley <brolley@redhat.com> | 2010-02-15 13:59:24 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2010-02-15 13:59:24 -0500 |
commit | ed8abf2763d68a4404477e6b09fee0fe4d591970 (patch) | |
tree | a62ef645c92a11d334115eb9bb72e0271fc75bc5 /tapset | |
parent | 27dc09b13650456b7b3efd45c07690083e526b6d (diff) | |
parent | c8408b459b88a5aa5f4325e690aef95b5da7c2eb (diff) | |
download | systemtap-steved-ed8abf2763d68a4404477e6b09fee0fe4d591970.tar.gz systemtap-steved-ed8abf2763d68a4404477e6b09fee0fe4d591970.tar.xz systemtap-steved-ed8abf2763d68a4404477e6b09fee0fe4d591970.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/x86_64/syscalls.stp | 8 |
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) } -%) |