All of lore.kernel.org
 help / color / mirror / Atom feed
* Module that loads new Interrupt Descriptor Table
@ 2005-04-20  8:58 Zvi Rackover
  2005-04-20  9:05 ` Arjan van de Ven
  0 siblings, 1 reply; 3+ messages in thread
From: Zvi Rackover @ 2005-04-20  8:58 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Module that loads new Interrupt Descriptor Table
  2005-04-20  8:58 Module that loads new Interrupt Descriptor Table Zvi Rackover
@ 2005-04-20  9:05 ` Arjan van de Ven
  2005-04-20  9:18   ` Zvi Rackover
  0 siblings, 1 reply; 3+ messages in thread
From: Arjan van de Ven @ 2005-04-20  9:05 UTC (permalink / raw)
  To: Zvi Rackover; +Cc: linux-kernel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Module that loads new Interrupt Descriptor Table
  2005-04-20  9:05 ` Arjan van de Ven
@ 2005-04-20  9:18   ` Zvi Rackover
  0 siblings, 0 replies; 3+ messages in thread
From: Zvi Rackover @ 2005-04-20  9:18 UTC (permalink / raw)
  To: linux-kernel

On 4/20/05, Arjan van de Ven <arjan@infradead.org> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-20  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-20  8:58 Module that loads new Interrupt Descriptor Table Zvi Rackover
2005-04-20  9:05 ` Arjan van de Ven
2005-04-20  9:18   ` Zvi Rackover

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.