mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ANDROID: vendor_hooks: export get_wchan
Export get_wchan to get the block reason. It is used to get the block reason(why the thread blocked in Uninterrupted Sleep) when happened long D state. We use this information check if it's reasonable. Bug: 205684022 Signed-off-by: xieliujie <xieliujie@oppo.com> Change-Id: I7b65bb502b805e7dac13e5f9d725da1ff70fe306 (cherry picked from commit0db6925868) (cherry picked from commit de72c813d12537ea6ced87b39ffcad446815609a) (cherry picked from commit1bcf1fc767)
This commit is contained in:
committed by
Treehugger Robot
parent
1ffd1a1c55
commit
102b4685b3
@@ -598,6 +598,7 @@ unsigned long __get_wchan(struct task_struct *p)
|
||||
|
||||
return wchan_info.pc;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(get_wchan);
|
||||
|
||||
unsigned long arch_align_stack(unsigned long sp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user