[Devel] [RFC rh7 v4] ve/tty: vt -- Implement per VE support for console and terminals

Cyrill Gorcunov gorcunov at virtuozzo.com
Fri Aug 21 09:14:56 PDT 2015


On Fri, Aug 21, 2015 at 07:00:13PM +0300, Andrey Ryabinin wrote:
> >>
> >> tty_io.c uses pr_debug. Why should we be different?
> > 
> > Because if you run kernel with "debug" by now it would spam the log
> > too much ;/ Also I would like to not print all this even in debug
> > mode but only when it's explicitly requested on compile time because
> > frankly there is no much point in spamming the kernel.
> > 
> 
> AFAIR "debug" in kernel command line doesn't enable pr_debug() messages.
> pr_debug() works if file was compiled with '#define DEBUG' or if 
> these messages were enabled in runtime (you need CONFIG_DYNAMIC_DEBUG=y for that,
> see Documentation/dynamic-debug-howto.txt).

Seems log engine get pretty lifted since the last I've been
looking into it. Anyway, I rather drop this debug code off.

> 
> So, it sounds like that pr_debug() is exactly what you need ;)



More information about the Devel mailing list