---
name: "kstat_irqs_usr"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/kstat_irqs_usr"
---

# kstat\_irqs\_usr(9)

Get the statistics for an interrupt

## NAME

kstat\_irqs\_usr - Get the statistics for an interrupt

## SYNOPSIS

**unsigned int kstat\_irqs\_usr(unsigned int** *irq***);**

## ARGUMENTS

*irq*

The interrupt number

## DESCRIPTION

Returns the sum of interrupt counts on all cpus since boot for *irq*. Contrary to **kstat\_irqs** this can be called from any preemptible context. It's protected against concurrent removal of an interrupt descriptor when sparse irqs are enabled.

## AUTHORS

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

**Ingo Molnar** \<mingo@elte.hu\>

Author.

## COPYRIGHT
