ANDROID: workqueue: export symbol of the function wq_worker_comm()

Export symbol of the function wq_worker_comm() in kernel/workqueue.c for dlkm to get the description of the kworker process. It is used to get the description when kworker thread happened abnormal situation.

Bug: 208394207
Signed-off-by: zhengding chen <chenzhengding@oppo.com>
Change-Id: I2e7ddd52a15e22e99e6596f16be08243af1bb473
(cherry picked from commit 28de74186185e339123c86984729818d0d2d7f43)
(cherry picked from commit 87e0e98c25ba8e121975708943335e3abad651d9)
(cherry picked from commit 38a713dc80959bd855580a51b75654fb6fe9a5dd)
(cherry picked from commit 1ffd1a1c555b47f425ac61090488fb8fb6a865d4)
(cherry picked from commit 6061e5ae3479e606e6fc5e395a1c9005f6668ebf)
This commit is contained in:
zhengding chen
2021-12-01 11:03:40 +08:00
committed by Treehugger Robot
parent ad17f45365
commit 61c95b3fe7
+1
View File
@@ -6466,6 +6466,7 @@ void wq_worker_comm(char *buf, size_t size, struct task_struct *task)
mutex_unlock(&wq_pool_attach_mutex);
}
EXPORT_SYMBOL_GPL(wq_worker_comm);
#ifdef CONFIG_SMP