Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2005 09:40:15 -0700
From:      Sam Leffler <sam@errno.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_mutex.c
Message-ID:  <4256B3EF.5090702@errno.com>
In-Reply-To: <19069.1112973882@critter.freebsd.dk>
References:  <19069.1112973882@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4256B3EF.5090702>