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 ;) _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
