From owner-cvs-all@FreeBSD.ORG Fri Apr 8 16:38:01 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D3E116A4CE; Fri, 8 Apr 2005 16:38:01 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A4A543D49; Fri, 8 Apr 2005 16:38:01 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j38Gbwms055617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2005 09:37:58 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4256B3EF.5090702@errno.com> Date: Fri, 08 Apr 2005 09:40:15 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <19069.1112973882@critter.freebsd.dk> In-Reply-To: <19069.1112973882@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: Gleb Smirnoff cc: cvs-all@FreeBSD.org cc: Bruce Evans cc: src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 16:38:01 -0000 Poul-Henning Kamp wrote: > In message <20050409002141.V48108@delplex.bde.org>, Bruce Evans writes: > >>On Fri, 8 Apr 2005, Gleb Smirnoff wrote: >> >> >>>glebius 2005-04-08 14:14:09 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sys/kern kern_mutex.c >>> Log: >>> Add additional newline to debug.mutex.prof.stats header, so that >>> column names are printed exactly above the columns. >> >>This is bogus, as is the existence of sysctls that format data (*). >> >>(*) Formatted output is not too bad for sysctls in the debug tree, but >>for general-purpose sysctls it is just a bug. > > > I disagree. > I agree with bde. One major distinction I've noticed between Linux and BSD systems is that Linux uses sysctls (aka /proc) in lieu of user-mode tools that retrieve and format data. While this is a reasonable approach when you're distributing only a kernel that's not the case here. For debug info I can buy doing it (e.g. single user and no apps from src/tools), but otherwise we're just adding stuff to the kernel that belongs in apps. Sam