summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwcohen <wcohen>2007-05-16 20:01:25 +0000
committerwcohen <wcohen>2007-05-16 20:01:25 +0000
commit892695a2a4c926e62c0ce96edc3b171788086780 (patch)
tree092d6fc4b5f88cf8fc9c09ca7378ba443ed25771
parenta646db49df96584f2d22714eaeb311fcf02df375 (diff)
downloadsystemtap-steved-892695a2a4c926e62c0ce96edc3b171788086780.tar.gz
systemtap-steved-892695a2a4c926e62c0ce96edc3b171788086780.tar.xz
systemtap-steved-892695a2a4c926e62c0ce96edc3b171788086780.zip
PR 4471
* syscall2.stp: Correct sys_pipe function args for ia64.
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/syscalls2.stp5
2 files changed, 9 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 13ba0d32..93017dad 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,4 +1,8 @@
2007-05-16 Will Cohen <wcohen@redhat.com>
+ PR 4471
+ * syscall2.stp: Correct sys_pipe function args for ia64.
+
+2007-05-16 Will Cohen <wcohen@redhat.com>
PR 4510
* scheduler.stp: Correct function argument.
diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp
index 042884d9..f48a0f94 100644
--- a/tapset/syscalls2.stp
+++ b/tapset/syscalls2.stp
@@ -255,8 +255,13 @@ probe syscall.pipe = kernel.function("sys_pipe") {
%:
probe syscall.pipe = kernel.function("sys_pipe") {
name = "pipe"
+%( arch == "ia64" %?
+# ia64 just returns value directly, no fildes argument
+ argstr = ""
+%:
fildes_uaddr = $fildes
argstr = _fildes_u($fildes)
+%)
}
%)
probe syscall.pipe.return = kernel.function("sys_pipe").return {