----- Original Message ----
> From: John Baldwin <j...@freebsd.org>
> To: freebsd-hackers@freebsd.org
> Cc: Andrew Brampton <brampton+free...@gmail.com>
> Sent: Wed, February 17, 2010 4:17:24 PM
> Subject: Re: Per core, per device interrupt counts
> 
> 
> The simplest method would probably be to make intrcnt grow per-CPU counts, 
> but 
> that would change the ABI of intrcnt and require a good bit of userland 
> hacking to fix vmstat -i, etc.

Or he can add some DTrace SDT probes after intrctl gets updated and export the 
device name, cpu index and count number from there as the probe argument list. 
Then he can get the stats he wants from a D script

Solaris' intrstat is built as a DTrace consumer, IIRC



Fer


      
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to