2021-12-27 13:44:22

by Gang Li

[permalink] [raw]
Subject: [PATCH v1] watchdog/hardlockup/perf: downgrade log level from info to debug

This log often flushes out other logs. So downgrade its level from
info to debug.

Signed-off-by: Gang Li <[email protected]>
---
kernel/watchdog_hld.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/watchdog_hld.c b/kernel/watchdog_hld.c
index 247bf0b1582ca..d7dbe69a14d70 100644
--- a/kernel/watchdog_hld.c
+++ b/kernel/watchdog_hld.c
@@ -194,7 +194,7 @@ void hardlockup_detector_perf_enable(void)

/* use original value for check */
if (!atomic_fetch_inc(&watchdog_cpus))
- pr_info("Enabled. Permanently consumes one hw-PMU counter.\n");
+ pr_debug("Enabled. Permanently consumes one hw-PMU counter.\n");

perf_event_enable(this_cpu_read(watchdog_ev));
}
--
2.20.1