[RFC] break out 'statfoo' from wlanstats/athstats into a shared
library
Adrian Chadd
adrian at freebsd.org
Fri Apr 6 17:38:04 UTC 2012
On 6 April 2012 00:46, Bernhard Schmidt <bschmidt at freebsd.org> wrote:
>> * (npestats? What's npe?)
>
> Ethernet driver, check the xscale port.
Hm, whyw asn't that ever folded into -HEAD?
>> * migrate wlanstats out from tools into the base system.
>>
>> Does anyone have any particular reason not to do this?
>
> What I'd always wanted to see is wlanstats' -i being extended to
> recognize not just wlanN, as in
>
> wlanstats -i wlan0 (teh default)
> wlanstats -i wlan1
> wlanstats -i ath0
> wlanstats -i mwl0
The trouble is finding a representation of the ioctl statistics that
is portable enough to use like this.
ath0/mwl0 don't export the same statistics by any means; and the
athstats tool uses a couple of ioctl APIs (one for HAL, one for ath)
to fetch statistics.
FWIW, I'm about to extend the athstats tool and HAL diagnostic API to
include more detailed interrupt statistics. This will help when
diagnosing mis-behaving bus hardware.
Adrian
More information about the freebsd-arch
mailing list