cvs commit: src/sys/kern kern_mutex.c

Gleb Smirnoff glebius at FreeBSD.org
Fri Apr 8 13:50:31 PDT 2005


On Sat, Apr 09, 2005 at 01:16:51AM +1000, Bruce Evans wrote:
B> This is bogus, as is the existence of sysctls that format data (*).
B> Use "sysctl -n debug.mutex.prof.stats" if you don't want sysctl(8)'s
B> printing of the sysctl name to mess up the header.  The new newline
B> misformats output for this usage.
B> 
B> (*) Formatted output is not too bad for sysctls in the debug tree, but
B> for general-purpose sysctls it is just a bug.

We already have formatted output here, don't we? Why just don't get it
formatted correctly?

If you insist on userland app to parse and format MUTEX_PROFILING(9)
statistics, then you should be consistent and remove the header _at all_.

Anyway, I see you, phk and jhb involved in discussion. I'm out of it. If
you together decide, that header format should be broken again, then I'll
back it out and be happy with local change in my tree. That's all, I don't
want to be involved in this flame.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-src mailing list