Commit ad62172a authored by Liujie Xie's avatar Liujie Xie Committed by Treehugger Robot
Browse files

ANDROID: vendor_hooks: Add hooks to select binder worklist



trace_android_vh_binder_proc_transaction_entry:
We need change binder thread so that this work can be added in
proc->todo, if we found the binder thread, skip native logic.

trace_android_vh_binder_select_worklist_ilocked:
we need this because we can't change list point in ”trace_android_vh_binder_thread_read“,
otherwise, If a work has beed added in our own defined list before,
current may goto retry and loop again and again.

Bug: 219898723
Change-Id: Ifdb3429c9ddac521bc75c1d21740ee7cc4b8f143
Signed-off-by: default avatarLiujie Xie <xieliujie@oppo.com>
(cherry picked from commit acefa91e)
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
(cherry picked from commit d26c0e1c)
parent ca14c8d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment