• Tejun Heo's avatar
    workqueue: Add tools/workqueue/wq_dump.py which prints out workqueue configuration · 7f7dc377
    Tejun Heo authored
    Lack of visibility has always been a pain point for workqueues. While the
    recently added wq_monitor.py improved the situation, it's still difficult to
    understand what worker pools are active in the system, how workqueues map to
    them and why. The lack of visibility into how workqueues are configured is
    going to become more noticeable as workqueue improves locality awareness and
    provides more mechanisms to customize locality related behaviors.
    
    Now that the basic framework for more flexible locality support is in place,
    this is a good time to improve the situation. This patch adds
    tools/workqueues/wq_dump.py which prints out the topology configuration,
    worker pools and how workqueues are mapped to pools. Read the command's help
    message for more details.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    7f7dc377
wq_dump.py 4.98 KB