From owner-freebsd-arch@FreeBSD.ORG Wed Mar 5 04:19:23 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 865D2186; Wed, 5 Mar 2014 04:19:23 +0000 (UTC) Received: from felyko.com (felyko.com [IPv6:2607:f2f8:a528::3:1337:ca7]) by mx1.freebsd.org (Postfix) with ESMTP id 6E98FB95; Wed, 5 Mar 2014 04:19:23 +0000 (UTC) Received: from [10.0.1.3] (c-24-6-115-18.hsd1.ca.comcast.net [24.6.115.18]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by felyko.com (Postfix) with ESMTPSA id 26F453988D; Tue, 4 Mar 2014 20:19:22 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: importing sam leffler's libstatfoo into -HEAd From: Rui Paulo In-Reply-To: Date: Tue, 4 Mar 2014 20:19:23 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: To: Adrian Chadd X-Mailer: Apple Mail (2.1874) Cc: freebsd-current , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2014 04:19:23 -0000 On 4 Mar 2014, at 18:31, Adrian Chadd 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... -- Rui Paulo