diff options
author | wcohen <wcohen> | 2008-03-11 21:45:31 +0000 |
---|---|---|
committer | wcohen <wcohen> | 2008-03-11 21:45:31 +0000 |
commit | cf3cf6cac06cfbc26076b38f9902df36a98c65aa (patch) | |
tree | c07884617020fc6ead167d177d2a1fefd00ff617 /tapset | |
parent | ec03bd4bd8364796db74f4e5184a59f9294ddb9f (diff) | |
download | systemtap-steved-cf3cf6cac06cfbc26076b38f9902df36a98c65aa.tar.gz systemtap-steved-cf3cf6cac06cfbc26076b38f9902df36a98c65aa.tar.xz systemtap-steved-cf3cf6cac06cfbc26076b38f9902df36a98c65aa.zip |
2008-03-11 Will Cohen <wcohen@redhat.com>
* syscalls2.stp (syscall.wait{4|id}): Correct for 2.6.24.n kernels.
Diffstat (limited to 'tapset')
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/syscalls2.stp | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog index 32ac6bf2..5ccfe91e 100644 --- a/tapset/ChangeLog +++ b/tapset/ChangeLog @@ -1,3 +1,7 @@ +2008-03-11 Will Cohen <wcohen@redhat.com> + + * syscalls2.stp (syscall.wait{4|id}): Correct for 2.6.24.n kernels. + 2008-03-06 Ananth N Mavinakayanahalli <ananth@in.ibm.com * i686/syscalls.stp: Handle sys_sigaltstack parameter after diff --git a/tapset/syscalls2.stp b/tapset/syscalls2.stp index b0118423..558e89bb 100644 --- a/tapset/syscalls2.stp +++ b/tapset/syscalls2.stp @@ -3023,13 +3023,13 @@ probe syscall.compat_vmsplice.return = kernel.function("compat_sys_vmsplice").re # probe syscall.wait4 = kernel.function("sys_wait4") { name = "wait4" - pid = %( kernel_vr > "2.6.24"%? $upid %: $pid%) + pid = %( kernel_vr >= "2.6.25" %? $upid %: $pid%) status_uaddr = $stat_addr options = $options options_str = _wait4_opt_str($options) rusage_uaddr = $ru argstr = sprintf("%d, %p, %s, %p", - %( kernel_vr > "2.6.24"%? $upid %: $pid%), + %( kernel_vr >= "2.6.25" %? $upid %: $pid%), $stat_addr,_wait4_opt_str($options), $ru) } probe syscall.wait4.return = kernel.function("sys_wait4").return { @@ -3046,7 +3046,7 @@ probe syscall.wait4.return = kernel.function("sys_wait4").return { # probe syscall.waitid = kernel.function("sys_waitid") { name = "waitid" - pid = %( kernel_vr > "2.6.24"%? $upid %: $pid%) + pid = %( kernel_vr >= "2.6.25" %? $upid %: $pid%) which = $which which_str = _waitid_which_str($which) infop_uaddr = $infop @@ -3054,7 +3054,7 @@ probe syscall.waitid = kernel.function("sys_waitid") { options_str = _waitid_opt_str($options) rusage_uaddr = $ru argstr = sprintf("%d, %d, %p, %s, %p", $which, - %( kernel_vr > "2.6.24"%? $upid %: $pid%), $infop, + %( kernel_vr >= "2.6.25" %? $upid %: $pid%), $infop, _waitid_opt_str($options), $ru) } probe syscall.waitid.return = kernel.function("sys_waitid").return { |