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: maoshenshen <maoshenshen@oppo.com>
Change-Id: I7b65bb502b805e7dac13e5f9d725da1ff70fe306
(cherry picked from commit 444e90e0463dd0e556627c54c4e282e5c473c887)
This commit is contained in:
maoshenshen
2024-03-27 11:21:26 +08:00
committed by Todd Kjos
parent e309d43a82
commit dd7413f746
+1
View File
@@ -2075,6 +2075,7 @@ unsigned long get_wchan(struct task_struct *p)
return ip;
}
EXPORT_SYMBOL_GPL(get_wchan);
void enqueue_task(struct rq *rq, struct task_struct *p, int flags)
{