[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoint on port write



On Mon, Sep 30, 2002 at 09:59:11AM +0200, Duncan Sands wrote:
> Hi all, I would like to monitor exactly when the kernel is writing
> to a certain I/O port.  The device is a PCI device with some I/O
> mapped registers.  They are written to/read from using outw, inw.
> Is there some debugging tool I can use to see all reads and writes?
> 

You could try putting io watchpoint on the port using dprobes.

http://www.ibm.com/linux/ltc/projects/dprobes/

Regards,
Bharata.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/