kstat_irqs_cpu(9)
β¨ kstat_irqs_cpu(9) β Kernel API Manual β¨
Okay bestie, welcome to the kstat_irqs_cpu(9) page β it's giving tiny but important kernel API and I'm obsessed. π
πΈ NAME πΈ
kstat_irqs_cpu - Get the statistics for an interrupt on a cpu
π¦ SYNOPSIS π¦
unsigned int kstat_irqs_cpu (unsigned int irq , int cpu );
π ARGUMENTS π
irqβ The interrupt number. That's the interrupt bestie in question. πcpuβ The cpu number. Yep, the cpu we're checking. β¨
π DESCRIPTION π
Returns the sum of interrupt counts on cpu since boot for irq. Literally the total count for that interrupt on that cpu since the system booted, no cap. π«Ά
β οΈ The caller must ensure that the interrupt is not removed concurrently. Like, that safety check is on the caller β don't let the interrupt get removed mid-call, bestie. π
π₯ SEE ALSO π₯
Kernel file ./kernel/irq/irqdesc.c β and then the whole iconic squad:
irq_get_nr_irqs(9)irq_set_nr_irqs(9)generic_handle_irq(9)generic_handle_irq_safe(9)generic_handle_domain_irq(9)generic_handle_domain_nmi(9)generic_handle_demux_domain_irq(9)irq_free_descs(9)__irq_alloc_descs(9)irq_get_next_irq(9)kstat_irqs_usr(9)
Source/version: ./kernel/irq Β· date: October 2026 Β· page: kstat_irqs_cpu(9). Stay slay, kernel bestie. πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms