From: David Smith Date: Thu, 18 Mar 2010 21:21:15 +0000 (-0500) Subject: Fixed BZ 568032 by adding support for sys_ia64_pipe. X-Git-Tag: release-1.2~38 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=9ab564b0a21f2df7d9457857cc636c621a2f7090;p=systemtap.git 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. --- diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp index d6af4e21f..2cae133ca 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"