Justin C. Sherrill
justin at shiningsilence.com
Thu Sep 16 13:00:45 PDT 2010
On Thu, September 16, 2010 3:49 pm, Matthew Dillon wrote:
> :We have quite a few kprintf's in the kernel that do not necessarily
> :report error conditions, they are purely informational and highlight
> :odd or rare cases that often the end-user of the operating system
> :really doesn't need to know about. This has been discussed quite a few
> :times on IRC.
> :I would like to put these under a sysctl like kern.developer and wrap
> :them in a function like dkprintf unless anyone has any major
> :objections. (I'm open to suggestions on the naming).
> I'd rather not. If any of them have becoming annoying we can
> remove them after a quick code review in irc.
I really like the sysctl idea. If not that, could we at least print them
differently? Right now, all messages appear equally catastrophic.
More information about the Kernel