Function report | 
Source Code:kernel\irq\irqdesc.c | 
Create Date:2022-07-28 10:08:43 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kstat_irqs - Get the statistics for an interrupt*@irq: The interrupt number* Returns the sum of interrupt counts on all cpus since boot for*@irq. The caller must ensure that the interrupt is not removed* concurrently.
Proto:unsigned int kstat_irqs(unsigned int irq)
Type:unsigned int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | irq | 
| 981 | desc = Interrupt to descriptor | 
| 982 | sum = 0 | 
| 985 | If Not desc || Not kstat_irqs Then Return 0 | 
| 987 | If Not irq_settings_is_per_cpu_devid(desc) && Not irq_settings_is_per_cpu(desc) && Not irq_is_nmi(desc) Then Return tot_count | 
| 992 | for_each_possible_cpu(cpu) | 
| 993 | sum += per_cpu_ptr(kstat_irqs, cpu) | 
| 994 | Return sum | 
| Name | Describe | 
|---|---|
| kstat_irqs_usr | kstat_irqs_usr - Get the statistics for an interrupt*@irq: The interrupt number* Returns the sum of interrupt counts on all cpus since boot for @irq | 
| 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  |