diff options
author | Stan Cox <scox@redhat.com> | 2010-02-09 16:28:32 -0500 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2010-02-09 16:28:32 -0500 |
commit | 6878a54351f98eff364ba8e9b43bc69a7d63f789 (patch) | |
tree | a4b02150b4918a05cc6a078f2d2e23cf0c25c7da | |
parent | 685814768d61e47d491a81271f04de8b421acc4d (diff) | |
parent | 82d819db2debd4831a11139fe81781f2c4566ef8 (diff) | |
download | systemtap-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.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) } -%) |