User: Password:
|
|
Subscribe / Log in / New account

The pr_*() macros versus dynamic debug

The pr_*() macros versus dynamic debug

Posted Mar 22, 2012 11:43 UTC (Thu) by abacus (guest, #49001)
Parent article: The perils of pr_info()

I think it's worth mentioning here that printk(KERN_DEBUG ...) statements are always enabled while when using pr_dbg() one gets dynamic debug support for free.


(Log in to post comments)

The pr_*() macros versus dynamic debug

Posted Mar 22, 2012 13:26 UTC (Thu) by corbet (editor, #1) [Link]

In fact, it's so worth mentioning that I did mention it in the article...:) Except that I mentioned it with regard to pr_debug(), which is the actual name of the macro.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds