diff options
author | 2018-05-18 08:47:13 -0700 | |
---|---|---|
committer | 2018-05-18 08:47:13 -0700 | |
commit | 88b72b31e15f9dfed069ede5416bb71040e0d299 (patch) | |
tree | 0965c46c2b8daeed787781fd0ee62b6333ec513f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | workqueue: Set worker->desc to workqueue name by default (diff) | |
download | linux-dev-88b72b31e15f9dfed069ede5416bb71040e0d299.tar.xz linux-dev-88b72b31e15f9dfed069ede5416bb71040e0d299.zip |
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: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions