missing interrupts


I have c programs looking for hardware interrupts using either ligpiod or ioctl.
(ex: sudo gpiomon --rising-edge gpiochip0 interruptpinnumber)
I have a lot of interrupts missing. When I profile the system with Nsight Systems, they are all detected but they are not caught(?) by the c code. From the timeline the system seems far from saturing.

Where can the problem come from?


hello Tib1f,

it’ll depend on your driver implementation methods.
please refer to below code-snippet for polling interrupt. you should also note that it’ll occupied few CPU resources.
for example,


static int tegra_channel_kthread_capture_start(void *data)
        while (1) {