Function report |
Source Code:kernel\irq\debugfs.c |
Create Date:2022-07-28 10:16:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:irq_debug_show
Proto:static int irq_debug_show(struct seq_file *m, void *p)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct seq_file * | m | |
void * | p |
154 | raw_spin_lock_irq( & lock) |
155 | data = irq_desc_get_irq_data(desc) |
156 | seq_printf(m, "handler: %ps\n", handle_irq) |
157 | seq_printf(m, "device: %s\n", dev_name) |
158 | seq_printf(m, "status: 0x%08x\n", status_use_accessors) |
159 | irq_debug_show_bits(m, 0, status_use_accessors, irqdesc_states, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(irqdesc_states)) |
161 | seq_printf(m, "istate: 0x%08x\n", istate) |
162 | irq_debug_show_bits(m, 0, istate, irqdesc_istates, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(irqdesc_istates)) |
164 | seq_printf(m, "ddepth: %u\n", nested irq disables ) |
165 | seq_printf(m, "wdepth: %u\n", nested wake enables ) |
166 | seq_printf(m, "dstate: 0x%08x\n", irqd_get(data)) |
167 | irq_debug_show_bits(m, 0, irqd_get(data), irqdata_states, ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(irqdata_states)) |
169 | seq_printf(m, "node: %d\n", irq_data_get_node(data)) |
170 | irq_debug_show_masks(m, desc) |
171 | irq_debug_show_data(m, data, 0) |
172 | raw_spin_unlock_irq( & lock) |
173 | 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 |