This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
examples/wait4time.stp
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: systemtap at sources dot redhat dot com
- Date: Thu, 06 Mar 2008 17:06:54 +0800
- Subject: examples/wait4time.stp
- References: <20080225145915.GA8718@redhat.com>
Hi,
In previous threads, there is the discussion about syscall.wait4 due to
renamed parameter in kernel 2.6.25.
pid = %( kernel_vr > "2.6.24" %? $upid %: $pid %)
So the related script examples/wait4time.stp need to reflect that.
t = gettimeofday_us(); p = pid()
entry_wait4[p] = t
- wait4_pid[p]=$pid
+ wait4_pid[p]=pid
}
Regards,
Wenji