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

Gang Li posted 1 patch 4 years, 6 months ago
kernel/watchdog_hld.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v1] watchdog/hardlockup/perf: downgrade log level from info to debug
Posted by Gang Li 4 years, 6 months ago
This log often flushes out other logs. So downgrade its level from
info to debug.

Signed-off-by: Gang Li <ligang.bdlg@bytedance.com>
---
 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