DragonFly BSD
DragonFly kernel List (threaded) for 2010-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Developer kprintf's


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Sep 2010 15:58:37 -0400

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).
> :
> :Sam
>
>     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.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]