diff options
author | ZhenguoYao <yaozhenguo1@gmail.com> | 2025-08-12 15:41:32 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-13 17:32:47 -0700 |
commit | 41f88ddfd453fe894678e1f6909b9fb9e08e8c3d (patch) | |
tree | c2a8c90e531e4a1222082f5f296597e770a263a3 /tools/testing/selftests/proc/proc-net-dev-lseek.c | |
parent | 0ca863b7c638803722dc5596b2d520812cf283b7 (diff) |
watchdog/softlockup: fix wrong output when watchdog_thresh < 3
When watchdog_thresh is below 3, sample_period will be less than 1 second.
So the following output will print when softlockup:
CPU#3 Utilization every 0s during lockup
Fix this by changing time unit from seconds to milliseconds.
Link: https://lkml.kernel.org/r/20250812074132.27810-1-yaozhenguo@jd.com
Signed-off-by: ZhenguoYao <yaozhenguo1@gmail.com>
Cc: Bitao Hu <yaoma@linux.alibaba.com>
Cc: Li Huafei <lihuafei1@huawei.com>
Cc: Max Kellermann <max.kellermann@ionos.com>
Cc: Thomas Gleinxer <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/proc-net-dev-lseek.c')
0 files changed, 0 insertions, 0 deletions