summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2023-05-18 06:02:09 +0300
committerTejun Heo <tj@kernel.org>2023-05-18 06:02:09 +0300
commit8a1dd1e547c1a037692e7a6da6a76108108c72b1 (patch)
tree8441f7c4e566a76ecc0bb4d94091d0997f05f8f4 /net/unix/af_unix.c
parent6363845005202148b8409ec3082e80845c19d309 (diff)
downloadlinux-8a1dd1e547c1a037692e7a6da6a76108108c72b1.tar.xz
workqueue: Track and monitor per-workqueue CPU time usage
Now that wq_worker_tick() is there, we can easily track the rough CPU time consumption of each workqueue by charging the whole tick whenever a tick hits an active workqueue. While not super accurate, it provides reasonable visibility into the workqueues that consume a lot of CPU cycles. wq_monitor.py is updated to report the per-workqueue CPU times. v2: wq_monitor.py was using "cputime" as the key when outputting in json format. Use "cpu_time" instead for consistency with other fields. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions