Date: Wed, 5 Mar 2014 08:42:36 -0800 From: Adrian Chadd <adrian.chadd@gmail.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: freebsd-current <freebsd-current@freebsd.org>, Rui Paulo <rpaulo@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: importing sam leffler's libstatfoo into -HEAd Message-ID: <CAJ-Vmokm36GYjN5kR9Bbd0fsw%2BHu8Owr7PfWje3%2BR8wLN6rXvg@mail.gmail.com> In-Reply-To: <CACdU%2Bf93smnVbcp57KSD5mMT91p3MyUPVCfUN6jPbuNGqB7_dw@mail.gmail.com> References: <CAJ-VmokE%2BzXEN7gzHt=ezoyP8gpM-i_Vwq%2BVXOboWcWWHd8OrQ@mail.gmail.com> <9BA45ADB-3005-4689-A9D3-932CB9F2F84E@FreeBSD.org> <CAJ-Vmo=KXdF6GT%2BaB%2B=0G8kNSjhv7LpmVRR4GyJZ2%2BD61T4LCw@mail.gmail.com> <CACdU%2Bf93smnVbcp57KSD5mMT91p3MyUPVCfUN6jPbuNGqB7_dw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yup, I've renamed it libbsdstat. http://people.freebsd.org/~adrian/patches/20140304-libbsdstat-2.diff I'm doing a universe run right now. -a On 5 March 2014 08:34, Scot Hetzel <swhetzel@gmail.com> wrote: > On Tue, Mar 4, 2014 at 11:16 PM, Adrian Chadd <adrian.chadd@gmail.com> wrote: >> On 4 March 2014 20:19, Rui Paulo <rpaulo@freebsd.org> wrote: >>> On 4 Mar 2014, at 18:31, Adrian Chadd <adrian.chadd@gmail.com> wrote: >>> >>>> hi, >>>> >>>> i'd like to import the libstatfoo code from sam into -HEAD. >>>> >>>> It's used by some of the wifi tools to print out periodic and global >>>> statistics. It abstracts away the gathering, printing and formatting >>>> bits. >>>> >>>> I'm hoping that we can adapt some of the other base tools to use it >>>> and then teach it to print out statistics in other (machine parsable) >>>> formats, so we don't have to keep hacking at the tools to do this. >>>> >>>> The initial import: >>>> >>>> http://people.freebsd.org/~adrian/patches/20140304-libbsdstatfoo.diff >>> >>> While there, could you please rename it? libstatfoo is a pretty bad name... >> >> I'm open to suggestions, but I don't want to get bogged down by sheds. >> > > lib/libbsdstatfoo -> lib/libbsdstat[,istics] > lib/libbsdstatfoo/statfoo.c -> lib/libbsdstat[,istics]/bsdstat[,istics].c > lib/libbsdstatfoo/statfoo.h -> lib/libbsdstat[,istics]/bsdstat[,istics].h > > Then change all occurrences of statfoo/STATFOO in those files to > bsdstat[,istics]/BSDSTAT[,ISTICS]. > > > -- > DISCLAIMER: > > No electrons were maimed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmokm36GYjN5kR9Bbd0fsw%2BHu8Owr7PfWje3%2BR8wLN6rXvg>