Lines Matching refs:tid
24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, argument
30 process_names[tid] = comm
31 thread_thislock[tid] = uaddr
32 thread_blocktime[tid] = nsecs(s, ns)
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, argument
36 if thread_blocktime.has_key(tid):
37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
38 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
39 del thread_blocktime[tid]
40 del thread_thislock[tid]
46 for (tid, lock) in lock_waits:
47 min, max, avg, count = lock_waits[tid, lock]
49 (process_names[tid], tid, lock, count, avg)