I'm trying to do some debugging related to interrupts, and I thought I
would try getting the interrupt counts (I'm especially interested in
knowing what Schizo thinks.)  So I thought I would try vmstat -i.

On my two systems, the only devices which are reported by vmstat -i are
a) the system clock, b) the audio chips, and c) the floppy controller.

This is almost completely useless.

Reading vmstat.c, it appears that all that is needed is for the various
drivers/devices to export kstat interrupts.

Is there any chance of getting this added to Solaris?  Even if we
started with the top level (I'd start with hard cpu interrupts, and work
my way down to nexus drivers, etc.) it would be incredibly useful in
debugging certain kinds of problems.

I'd be willing to modify my own afe driver to export interrupt kstats as
well, but again, nexus driver interrupts are much more interesting to me
at the moment.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to