From 28de74186185e339123c86984729818d0d2d7f43 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. Bug: 208394207 Signed-off-by: zhengding chen Change-Id: I2e7ddd52a15e22e99e6596f16be08243af1bb473 --- kernel/workqueue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 6e15757cc073..4d09cece5cb9 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -4898,6 +4898,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