LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Determining Linux irq level (https://www.linuxquestions.org/questions/linux-general-1/determining-linux-irq-level-4175622493/)

htfones 01-26-2018 05:26 PM

Determining Linux irq level
 
Is there a means of determining irq level inside a kernel driver? Something like :KeGetCurrentIrql in Windows.
How about in GDB or a crash dump?
Thanks

coralfang 01-27-2018 03:09 AM

Linux doesn't use IRQL. You can see here functions related to IRQ handling; https://www.kernel.org/doc/htmldocs/genericirq/

If you just want to view interrupt counts, you can use;
Code:

cat /proc/interrupts
or
Code:

procinfo


All times are GMT -5. The time now is 02:40 AM.