]> git.itanic.dy.fi Git - rrdd/commitdiff
process: Downgrade mutex contention prints
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 25 Oct 2020 16:13:01 +0000 (18:13 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 25 Oct 2020 16:13:01 +0000 (18:13 +0200)
These are not as interesting any more, so convert them to debug level
in order to reduce excess verbosity.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
process.c

index ce46d92cc3335ac116719b8d28dee4fdf05d82a6..2f5bccdc8a0d16c1c8602acaf2929710591fb2b7 100644 (file)
--- 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;