installing an APIC interrupt handler w/o patching the kernel?

Brinkley Sprunt (bsprunt@mail.bucknell.edu)
Tue, 29 Jan 2002 10:17:14 -0500


Hi,

I'm developing tools to support the use of the Pentium 4 performance
counters and event-based sampling. I currently have the tools working
for event-based sampling via the APIC performance counter interrupt.
To setup the handler for the APIC interrupt, I have patched the kernel
in a fashion similar to the approach Mikael Pettersson uses for his
perfctr driver. However, I would like to avoid patching the kernel
in order to install the handler for the APIC interrupt. I've attempted
to use request_irq(), free_irq(), prove_irq_on(), and probe_irq_off(),
but these just do not appear to be the appropriate interface for
installing APIC interrupt handlers (is this correct?).

Is there a recommended way to install an APIC interrupt handler without
patching the kernel?

Thanks,

Brink

-----------------------------------
Brinkley Sprunt
Electrical Engineering Department
Bucknell University
Moore Avenue
Lewisburg, PA 17837
Office Phone: 570-577-3397
EE Dept. Phone: 570-577-1234
EE Dept. FAX: 570-577-1822
Email: bsprunt@bucknell.edu
http://www.eg.bucknell.edu/~bsprunt
-----------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/