Skip to content
Commit 88b72b31 authored by Tejun Heo's avatar Tejun Heo
Browse files

proc: Consolidate task->comm formatting into proc_task_name()



proc shows task->comm in three places - comm, stat, status - and each
is fetching and formatting task->comm slighly differently.  This patch
renames task_name() to proc_task_name(), makes it more generic, and
updates all three paths to use it.

This will enable expanding comm reporting for workqueue workers.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 8bf89593
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment