examples/wait4time.stp

Wenji Huang wenji.huang@oracle.com
Thu Mar 6 09:10:00 GMT 2008


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



More information about the Systemtap mailing list