diff options
author | David Smith <dsmith@redhat.com> | 2010-03-18 16:21:15 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2010-03-18 16:21:15 -0500 |
commit | 9ab564b0a21f2df7d9457857cc636c621a2f7090 (patch) | |
tree | 98b562b3aaa4d6cc6e07b7b9ee2dda130c1ef2fa /tapset | |
parent | f33e91514d142459cea02bd81effb2b5dc3051ec (diff) | |
download | systemtap-steved-9ab564b0a21f2df7d9457857cc636c621a2f7090.tar.gz systemtap-steved-9ab564b0a21f2df7d9457857cc636c621a2f7090.tar.xz systemtap-steved-9ab564b0a21f2df7d9457857cc636c621a2f7090.zip |
Fixed BZ 568032 by adding support for sys_ia64_pipe.
* tapset/syscalls2.stp: Added support for 'sys_ia64_pipe' so that the
syscall.pipe probe works correctly under RHEL5.5.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/syscalls2.stp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp index d6af4e21..2cae133c 100644 --- a/tapset/syscalls2.stp +++ b/tapset/syscalls2.stp @@ -301,12 +301,16 @@ probe syscall.pipe = kernel.function("SyS_pipe").call !, } %: probe syscall.pipe = kernel.function("SyS_pipe").call !, +%( arch == "ia64" %? + kernel.function("sys_ia64_pipe").call ?, +%) kernel.function("sys_pipe").call { name = "pipe" %( arch == "ia64" %? -# ia64 just returns value directly, no fildes argument - argstr = "" +# ia64 just returns value directly, so fake the arguments + fildes_uaddr = 0 + argstr = "[0, 0]" %: fildes_uaddr = $fildes argstr = _fildes_u($fildes) @@ -314,6 +318,9 @@ probe syscall.pipe = kernel.function("SyS_pipe").call !, } %) probe syscall.pipe.return = kernel.function("SyS_pipe").return !, +%( arch == "ia64" %? + kernel.function("sys_ia64_pipe").return ?, +%) kernel.function("sys_pipe").return { name = "pipe" |