diff options
author | Josh Stone <jistone@redhat.com> | 2009-08-31 11:22:50 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-08-31 11:22:50 -0700 |
commit | d97876c8cd8488865753fa6a6055ab3a58d7219a (patch) | |
tree | e7b4ed853837ab394bc079d5c2464fe6be6dc5dd /tapset/i386 | |
parent | 77c26b4ed3ce4edc48de72aadcd93161c96dae7d (diff) | |
download | systemtap-steved-d97876c8cd8488865753fa6a6055ab3a58d7219a.tar.gz systemtap-steved-d97876c8cd8488865753fa6a6055ab3a58d7219a.tar.xz systemtap-steved-d97876c8cd8488865753fa6a6055ab3a58d7219a.zip |
Mirror the sys_sigaltstack fix in nd_syscalls
The argument fix in commit 77c26b4 needs to be made in nd_syscalls too,
where the conditional kernel should be 2.6.30 instead of 2.6.29.
* tapset/i386/nd_syscalls.stp (nd_syscall.sigaltstack): Check 2.6.30.
Diffstat (limited to 'tapset/i386')
-rw-r--r-- | tapset/i386/nd_syscalls.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/i386/nd_syscalls.stp b/tapset/i386/nd_syscalls.stp index f19e54a9..09b2e700 100644 --- a/tapset/i386/nd_syscalls.stp +++ b/tapset/i386/nd_syscalls.stp @@ -154,9 +154,9 @@ probe nd_syscall.set_zone_reclaim.return = kprobe.function("sys_set_zone_reclaim probe nd_syscall.sigaltstack = kprobe.function("sys_sigaltstack") { name = "sigaltstack" - // ussp = %( kernel_vr < "2.6.25" %? $ebx %: %( kernel_vr < "2.6.29" %? $bx %: $regs->bx %) %) + // ussp = %( kernel_vr < "2.6.25" %? $ebx %: %( kernel_vr < "2.6.30" %? $bx %: $regs->bx %) %) // NB: no asmlinkage() - ussp = %( kernel_vr < "2.6.29" %? ulong_arg(1) %: @cast(ulong_arg(1), "pt_regs")->bx %) + ussp = %( kernel_vr < "2.6.30" %? ulong_arg(1) %: @cast(ulong_arg(1), "pt_regs")->bx %) argstr = sprintf("%p", ussp) } probe nd_syscall.sigaltstack.return = kprobe.function("sys_sigaltstack").return |