diff options
-rw-r--r-- | examples/ChangeLog | 5 | ||||
-rwxr-xr-x | examples/wait4time.stp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/examples/ChangeLog b/examples/ChangeLog index ae011376..78083901 100644 --- a/examples/ChangeLog +++ b/examples/ChangeLog @@ -1,3 +1,8 @@ + +2008-03-09 Wenji Huang <wenji.huang@oracle.com> + + * wait4time.stp: Change reference of $pid to local variable pid. + 2008-03-05 David Smith <dsmith@redhat.com> PR5422 diff --git a/examples/wait4time.stp b/examples/wait4time.stp index bd1628ea..568239b9 100755 --- a/examples/wait4time.stp +++ b/examples/wait4time.stp @@ -47,7 +47,7 @@ probe begin { probe syscall.wait4 { t = gettimeofday_us(); p = pid() entry_wait4[p] = t - wait4_pid[p]=$pid + wait4_pid[p]=pid } probe syscall.wait4.return { |