Re: Module that loads new Interrupt Descriptor Table

From: Zvi Rackover
Date: Wed Apr 20 2005 - 04:20:41 EST


On 4/20/05, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> On Wed, 2005-04-20 at 11:58 +0300, Zvi Rackover wrote:
> > 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?)
>
>
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/