Function report |
Source Code:kernel\locking\lockdep_proc.c |
Create Date:2022-07-28 09:50:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lockdep_stats_show
Proto:static int lockdep_stats_show(struct seq_file *m, void *v)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
void * | v |
203 | nr_unused = 0 , nr_uncategorized = 0 , nr_irq_safe = 0 , nr_irq_unsafe = 0 , nr_softirq_safe = 0 , nr_softirq_unsafe = 0 , nr_hardirq_safe = 0 , nr_hardirq_unsafe = 0 , nr_irq_read_safe = 0 , nr_irq_read_unsafe = 0 , nr_softirq_read_safe = 0 , nr_softirq_read_unsafe = 0 , nr_hardirq_read_safe = 0 , nr_hardirq_read_unsafe = 0 , sum_forward_deps = 0 |
253 | seq_printf(m, " lock-classes: %11lu [max: %lu]\n", nr_lock_classes, MAX_LOCKDEP_KEYS) |
255 | seq_printf(m, " direct dependencies: %11lu [max: %lu]\n", nr_list_entries, MAX_LOCKDEP_ENTRIES) |
257 | seq_printf(m, " indirect dependencies: %11lu\n", sum_forward_deps) |
266 | seq_printf(m, " all direct dependencies: %11lu\n", nr_irq_unsafe * nr_irq_safe + nr_hardirq_unsafe * nr_hardirq_safe + nr_list_entries) |
284 | seq_printf(m, " in-process chains: %11u\n", nr_process_chains) |
286 | seq_printf(m, " stack-trace entries: %11lu [max: %lu]\n", nr_stack_trace_entries, Stack-trace: tightly packed array of stack backtrace* addresses. Protected by the hash_lock.) |
294 | seq_printf(m, " combined max dependencies: %11u\n", (nr_hardirq_chains + 1) * (nr_softirq_chains + 1) * (nr_process_chains + 1)) |
299 | seq_printf(m, " hardirq-safe locks: %11lu\n", nr_hardirq_safe) |
301 | seq_printf(m, " hardirq-unsafe locks: %11lu\n", nr_hardirq_unsafe) |
303 | seq_printf(m, " softirq-safe locks: %11lu\n", nr_softirq_safe) |
305 | seq_printf(m, " softirq-unsafe locks: %11lu\n", nr_softirq_unsafe) |
307 | seq_printf(m, " irq-safe locks: %11lu\n", nr_irq_safe) |
309 | seq_printf(m, " irq-unsafe locks: %11lu\n", nr_irq_unsafe) |
312 | seq_printf(m, " hardirq-read-safe locks: %11lu\n", nr_hardirq_read_safe) |
314 | seq_printf(m, " hardirq-read-unsafe locks: %11lu\n", nr_hardirq_read_unsafe) |
316 | seq_printf(m, " softirq-read-safe locks: %11lu\n", nr_softirq_read_safe) |
318 | seq_printf(m, " softirq-read-unsafe locks: %11lu\n", nr_softirq_read_unsafe) |
320 | seq_printf(m, " irq-read-safe locks: %11lu\n", nr_irq_read_safe) |
322 | seq_printf(m, " irq-read-unsafe locks: %11lu\n", nr_irq_read_unsafe) |
325 | seq_printf(m, " uncategorized locks: %11lu\n", nr_uncategorized) |
327 | seq_printf(m, " unused locks: %11lu\n", nr_unused) |
329 | seq_printf(m, " max locking depth: %11u\n", max_lockdep_depth) |
339 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |