From owner-freebsd-current@FreeBSD.ORG Wed Mar 5 02:32:01 2014 Return-Path: Delivered-To: freebsd-current@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 2158EDDF; Wed, 5 Mar 2014 02:32:01 +0000 (UTC) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C905FEE0; Wed, 5 Mar 2014 02:32:00 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id m20so473805qcx.24 for ; Tue, 04 Mar 2014 18:32:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0/yvPaEF6D+HGQRqnWFmJ1KAoRkSl1SaX+cqSH2c3r8=; b=CV50IwlIBttDQZ0Hcc3xnA3iWlk8JbxdO5BRfn9PPXWzMvqBlL12OsCwO8Cpl3bdUz OotEleIr6vx9V7YWBvi2XQgxxiPJAk8ouMyrYIhFDXwfqhg32AGHZB5FZwWelV9SrIqw 5bfMh2KVawMB/8wVWX8R7XHJJ4w6/YSR6Bv1YnSjGoBByBTf4zAEC1WnCpHm74jm/kCB sWQ7+4MTbc7lr9F1Nf6w2XWFxRHJzMQ3rafFmzzPvZP3kh8c5Gz4eOZVRgsIJHm9y6Ei eLHM9/HIsxfC/hJGmYTGPjEUyCTmnSIrDxZKD6Ex6bkemNESlYlK3fpd7XcM2B7U4UdZ 802g== MIME-Version: 1.0 X-Received: by 10.140.101.162 with SMTP id u31mr3342170qge.107.1393986719861; Tue, 04 Mar 2014 18:31:59 -0800 (PST) Received: by 10.224.16.10 with HTTP; Tue, 4 Mar 2014 18:31:59 -0800 (PST) Date: Tue, 4 Mar 2014 18:31:59 -0800 Message-ID: Subject: importing sam leffler's libstatfoo into -HEAd From: Adrian Chadd To: "freebsd-arch@freebsd.org" , freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2014 02:32:01 -0000 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 Thanks! -a