D | android-futex-contention.py | 26 def android_lock(callchain): argument 27 for c in callchain: 37 def print_callchain(callchain): argument 38 for c in callchain: 52 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument 56 if cmd != FUTEX_WAIT or android_lock(callchain) == False: 64 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument 87 … max_waits[(tid, thread_thislock[tid])] = [elapsed, waker_pid, waker_chain, callchain]
|