From: Timo Kokkonen Date: Sun, 25 Oct 2020 16:13:01 +0000 (+0200) Subject: process: Downgrade mutex contention prints X-Git-Url: http://git.itanic.dy.fi/?p=rrdd;a=commitdiff_plain;h=c4033e7bac5790c83cca1a0ebb697631639ab956 process: Downgrade mutex contention prints These are not as interesting any more, so convert them to debug level in order to reduce excess verbosity. Signed-off-by: Timo Kokkonen --- diff --git a/process.c b/process.c index ce46d92..2f5bccd 100644 --- a/process.c +++ b/process.c @@ -699,7 +699,7 @@ int _mutex_lock(struct mutex *lock, char *file, int line) goto out_lock; contended = 1; - pr_info("Lock contention at %s:%d on lock %s acquired by %s at %s:%d\n", + pr_debug("Lock contention at %s:%d on lock %s acquired by %s at %s:%d\n", file, line, lock->name, lock->owner_name, lock->file, lock->line); @@ -710,7 +710,7 @@ int _mutex_lock(struct mutex *lock, char *file, int line) out_lock: if (contended) - pr_info("Lock %s acquired at %s:%d after contention\n", + pr_debug("Lock %s acquired at %s:%d after contention\n", lock->name, file, line); _mutex_lock_acquired(lock, file, line); return ret;