diff options
author | Steven Rostedt <[email protected]> | 2011-04-20 21:41:56 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-04-22 11:06:58 +0200 |
commit | 48702ecf308e53f176c1f6fdc193d622ded54ac0 (patch) | |
tree | aa348b35b3a97fd9a5230e145ea4e6186ab2a978 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | f4185812aa046ecb97e8817e10148cacdd7a6baa (diff) |
lockdep: Print a nicer description for simple deadlocks
Lockdep output can be pretty cryptic, having nicer output
can save a lot of head scratching. When a simple deadlock
scenario is detected by lockdep (lock A -> lock A) we now
get the following new output:
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(&(lock)->rlock);
lock(&(lock)->rlock);
*** DEADLOCK ***
Signed-off-by: Steven Rostedt <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions