[RFC] break out 'statfoo' from wlanstats/athstats into a shared
library
Bernhard Schmidt
bschmidt at freebsd.org
Sat Apr 7 09:37:23 UTC 2012
On Friday 06 April 2012 19:38:03 Adrian Chadd wrote:
> 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?
head/sys/arm/xscale/ixp425/if_npe.c
> >> * 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.
Oh no, I didn't mean to display the same stats, just that the tools
are merged and not scattered around the tree.
> 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
>
--
Bernhard
More information about the freebsd-arch
mailing list