Date: Sat, 7 Apr 2012 11:37:40 +0200 From: Bernhard Schmidt <bschmidt@freebsd.org> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-arch@freebsd.org Subject: Re: [RFC] break out 'statfoo' from wlanstats/athstats into a shared library Message-ID: <201204071137.40785.bschmidt@freebsd.org> In-Reply-To: <CAJ-VmomgNHkjT4FPTcycChmw6g1uxrZDfp2E29Bov_k9JMba4g@mail.gmail.com> References: <CAJ-VmokFzNJQKSZcr1SOnG%2B7PUj-3K03uietb6o9U55u4HYkYg@mail.gmail.com> <201204060946.30180.bschmidt@freebsd.org> <CAJ-VmomgNHkjT4FPTcycChmw6g1uxrZDfp2E29Bov_k9JMba4g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 April 2012 19:38:03 Adrian Chadd wrote: > On 6 April 2012 00:46, Bernhard Schmidt <bschmidt@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204071137.40785.bschmidt>