diff options
author | 2011-04-20 21:41:59 -0400 | |
---|---|---|
committer | 2011-04-22 11:06:59 +0200 | |
commit | 282b5c2f6f663c008444321fd8fcdd374596046b (patch) | |
tree | 33d189c35bccdccfaef281a90afd3451c5ae115f /tools/perf/util/python.c | |
parent | lockdep: Replace "Bad BFS generated tree" message with something less cryptic (diff) | |
download | wireguard-linux-282b5c2f6f663c008444321fd8fcdd374596046b.tar.xz wireguard-linux-282b5c2f6f663c008444321fd8fcdd374596046b.zip |
lockdep: Print a nicer description for simple irq lock inversions
Lockdep output can be pretty cryptic, having nicer output
can save a lot of head scratching. When a simple irq inversion
scenario is detected by lockdep (lock A taken in interrupt
context but also in thread context without disabling interrupts)
we now get the following (hopefully more informative) output:
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(lockA);
<Interrupt>
lock(lockA);
*** DEADLOCK ***
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20110421014300.436140880@goodmis.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions