]> sourceware.org Git - systemtap.git/commitdiff
Fixed BZ 568032 by adding support for sys_ia64_pipe.
authorDavid Smith <dsmith@redhat.com>
Thu, 18 Mar 2010 21:21:15 +0000 (16:21 -0500)
committerDavid Smith <dsmith@redhat.com>
Thu, 18 Mar 2010 21:21:15 +0000 (16:21 -0500)
* tapset/syscalls2.stp: Added support for 'sys_ia64_pipe' so that the
  syscall.pipe probe works correctly under RHEL5.5.

tapset/syscalls2.stp

index d6af4e21f6517e4def9da3eb79f91aeb59f9a1c9..2cae133ca8e80040e65bd65ea4397583b2bcffdd 100644 (file)
@@ -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"
This page took 0.033339 seconds and 5 git commands to generate.