Module that loads new Interrupt Descriptor Table
Hello all,
I would like to write a program that monitors various system
parameters in real time. One of these is counting the number of interrupts. I would like to implement my own interrupt handler so that each handler counts the number of interrupt of its respective type.
I have read various guides and tutorials but none of them have
discussed this matter.
The module is intended to be installed on an Intel architecture machine. Any tips or source code would be graciously accepted.
Regards,
Zvi
Quoted 6 lines · Zvi Rackover
Hello all,
I would like to write a program that monitors various system
parameters in real time. One of these is counting the number of interrupts. I would like to implement my own interrupt handler so that each handler counts the number of interrupt of its respective type.
ehm
the kernel already keeps this kind of data, see /proc/interrupts
why would you want to collect it *again* ?
(or do you want to generally hook interrupts like some other people want to hook syscalls?)
Quoted 8 lines · Arjan van de Ven
Quoted 6 lines · Zvi Rackover
Hello all,
I would like to write a program that monitors various system
parameters in real time. One of these is counting the number of interrupts. I would like to implement my own interrupt handler so that each handler counts the number of interrupt of its respective type.
Quoted 8 lines
ehm
the kernel already keeps this kind of data, see/proc/interruptswhy would you want to collect it *again* ?
(or do you want to generally hook interrupts like some other people want to hook syscalls?)
You have a good point point - I should have given a better decription to my problem.
This is an educational project I'm working on and I need to actually see the contents of the Interrupt Descritor Table so I could load it into user space and have it displayed in a nice GUI.