Imran Khan 55df0933be workqueue: Introduce show_one_worker_pool and show_one_workqueue.
Currently show_workqueue_state shows the state of all workqueues and of
all worker pools. In certain cases we may need to dump state of only a
specific workqueue or worker pool. For example in destroy_workqueue we
only need to show state of the workqueue which is getting destroyed.

So rename show_workqueue_state to show_all_workqueues(to signify it
dumps state of all busy workqueues) and divide it into more granular
functions (show_one_workqueue and show_one_worker_pool), that would show
states of individual workqueues and worker pools and can be used in
cases such as the one mentioned above.

Also, as mentioned earlier, make destroy_workqueue dump data pertaining
to only the workqueue that is being destroyed and make user(s) of
earlier interface(show_workqueue_state), use new interface
(show_all_workqueues).

Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2021-10-20 06:19:03 -10:00
..
2021-10-08 12:55:23 -07:00
2021-07-27 12:17:21 +02:00
2021-09-01 09:51:16 -07:00
2021-09-01 09:51:16 -07:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:17:21 +02:00
2020-06-27 16:21:20 +02:00
2021-07-27 12:17:21 +02:00
2021-05-13 16:57:17 +02:00
2021-07-27 12:17:21 +02:00
2021-09-14 11:18:47 +02:00
2021-04-15 10:32:17 +02:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:17:21 +02:00