Re: Module that loads new Interrupt Descriptor Table

From: Arjan van de Ven
Date: Wed Apr 20 2005 - 04:09:40 EST


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?)


-
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/