From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 23 Jul 2014 11:56:57 -0700 Subject: printk or pr_? In-Reply-To: References: <53CFFC14.1040803@gmail.com> Message-ID: <20140723185657.GA5396@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, Jul 23, 2014 at 08:40:04PM +0200, Kristofer Hallin wrote: > Yes. > > https://www.kernel.org/doc/local/pr_debug.txt No, that isn't true if CONFIG_DYNAMIC_DEBUG is enabled, which you really should enable all the time. If that option is enabled, then you can enable the debugging messages after the code is loaded, or from the module load command line, through that interface, which is much more useful than just "enable/disable at build time". Hope this helps, greg k-h