diff options
author | Ming Lei <tom.leiming@gmail.com> | 2009-07-16 09:44:29 -0400 |
---|---|---|
committer | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-07-24 04:52:03 -0400 |
commit | 12f3dfd022d7e616757a94f0538d3d525d806a16 (patch) | |
tree | 22221bcfa6edcc47094bd87862eb9cc5402a5799 /kernel/lockdep_proc.c | |
parent | 4dd861d6467007681991d8ec079d928db2018cbb (diff) |
lockdep: Add statistics info for max bfs queue depth
Add BFS statistics to the existing lockdep stats.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1246201486-7308-10-git-send-email-tom.leiming@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/lockdep_proc.c')
-rw-r--r-- | kernel/lockdep_proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/lockdep_proc.c b/kernel/lockdep_proc.c index d7135aa2d2c4..9a1bf34d2ff6 100644 --- a/kernel/lockdep_proc.c +++ b/kernel/lockdep_proc.c | |||
@@ -411,6 +411,8 @@ static int lockdep_stats_show(struct seq_file *m, void *v) | |||
411 | max_lockdep_depth); | 411 | max_lockdep_depth); |
412 | seq_printf(m, " max recursion depth: %11u\n", | 412 | seq_printf(m, " max recursion depth: %11u\n", |
413 | max_recursion_depth); | 413 | max_recursion_depth); |
414 | seq_printf(m, " max bfs queue depth: %11u\n", | ||
415 | max_bfs_queue_depth); | ||
414 | lockdep_stats_debug_show(m); | 416 | lockdep_stats_debug_show(m); |
415 | seq_printf(m, " debug_locks: %11u\n", | 417 | seq_printf(m, " debug_locks: %11u\n", |
416 | debug_locks); | 418 | debug_locks); |