summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorananth <ananth>2008-03-06 15:15:30 +0000
committerananth <ananth>2008-03-06 15:15:30 +0000
commite82c1beea0d6cd9596b79f7d1759cfdf4c166b2a (patch)
treeb67907744c28b574be96a2949d61be10b2c553b9
parentd7da7f302a1bc5d801f336b39366a299ca4def22 (diff)
downloadsystemtap-steved-e82c1beea0d6cd9596b79f7d1759cfdf4c166b2a.tar.gz
systemtap-steved-e82c1beea0d6cd9596b79f7d1759cfdf4c166b2a.tar.xz
systemtap-steved-e82c1beea0d6cd9596b79f7d1759cfdf4c166b2a.zip
Fix sys_sigaltstack for i686 after register unification
-rw-r--r--tapset/ChangeLog5
-rw-r--r--tapset/i686/syscalls.stp4
2 files changed, 7 insertions, 2 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 4c65ccc0..32ac6bf2 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-06 Ananth N Mavinakayanahalli <ananth@in.ibm.com
+
+ * i686/syscalls.stp: Handle sys_sigaltstack parameter after
+ register unification
+
2008-02-28 Will Cohen <wcohen@redhat.com>
PR433780
diff --git a/tapset/i686/syscalls.stp b/tapset/i686/syscalls.stp
index 75bc960d..8e69f622 100644
--- a/tapset/i686/syscalls.stp
+++ b/tapset/i686/syscalls.stp
@@ -119,8 +119,8 @@ probe syscall.set_zone_reclaim.return =
#
probe syscall.sigaltstack = kernel.function("sys_sigaltstack") {
name = "sigaltstack"
- ebx = $ebx
- argstr = sprintf("%p", $ebx)
+ ussp = %( kernel_vr < "2.6.25" %? $ebx %: $bx %)
+ argstr = sprintf("%p", ussp)
}
probe syscall.sigaltstack.return = kernel.function("sys_sigaltstack").return {
name = "sigaltstack"