This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

examples/wait4time.stp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]