summaryrefslogtreecommitdiffstats
path: root/tapset/i686
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 /tapset/i686
parentd7da7f302a1bc5d801f336b39366a299ca4def22 (diff)
downloadsystemtap-steved-e82c1beea0d6cd9596b79f7d1759cfdf4c166b2a.tar.gz
systemtap-steved-e82c1beea0d6cd9596b79f7d1759cfdf4c166b2a.tar.xz
systemtap-steved-e82c1beea0d6cd9596b79f7d1759cfdf4c166b2a.zip
Fix sys_sigaltstack for i686 after register unification
Diffstat (limited to 'tapset/i686')
-rw-r--r--tapset/i686/syscalls.stp4
1 files changed, 2 insertions, 2 deletions
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"