cvs commit: src/sys/kern kern_mutex.c

Sam Leffler sam at errno.com
Fri Apr 8 09:38:01 PDT 2005


Poul-Henning Kamp wrote:
> In message <20050409002141.V48108 at 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



More information about the cvs-src mailing list