From 61c95b3fe79299f3457dd16e5c8f0bcac127c122 Mon Sep 17 00:00:00 2001 From: zhengding chen Date: Wed, 1 Dec 2021 11:03:40 +0800 Subject: [PATCH] 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 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) --- kernel/workqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 90fc3afc7c87..ba7cb5731300 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -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