[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1398970535-6880-1-git-send-email-eparis@redhat.com>
Date: Thu, 1 May 2014 14:55:35 -0400
From: Eric Paris <eparis@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Eric Paris <eparis@...hat.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Don Zickus <dzickus@...hat.com>, Michal Hocko <mhocko@...e.cz>,
Ben Zhang <benzh@...omium.org>
Subject: [PATCH] watchdog: print all locks on a softlock
If the CPU hits a softlockup this patch will also have it print the
information about all locks being held on the system. This might help
determine if a lock is being held too long leading to this problem.
Signed-off-by: Eric Paris <eparis@...hat.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Don Zickus <dzickus@...hat.com>
Cc: Michal Hocko <mhocko@...e.cz>
Cc: Ben Zhang <benzh@...omium.org>
---
kernel/watchdog.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 516203e..a027240 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -322,6 +322,7 @@ static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer)
current->comm, task_pid_nr(current));
print_modules();
print_irqtrace_events(current);
+ debug_show_all_locks();
if (regs)
show_regs(regs);
else
--
1.9.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists