函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\irqdesc.c Create Date:2022-07-27 11:08:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kstat_irqs_cpu - Get the statistics for an interrupt on a cpu*@irq: The interrupt number*@cpu: The cpu number* Returns the sum of interrupt counts on @cpu since boot for*@irq. The caller must ensure that the interrupt is not removed* concurrently.

函数原型:unsigned int kstat_irqs_cpu(unsigned int irq, int cpu)

返回类型:unsigned int

参数:

类型参数名称
unsigned intirq
intcpu
960  desc等于中断转换为描述
962  返回:如果desccpu中断统计per_cpu_ptr(cpu中断统计, cpu)否则0