Thread (4 messages) flat view 4 messages, 4 authors, 2016-07-18

Re: [PATCH] cxl: add option to enable -DDEBUG

From: Uma Krishnan <hidden>
Date: 2016-07-18 13:54:14


On 7/18/2016 5:49 AM, Michael Ellerman wrote:
Andrew Donnellan [off-list ref] writes:
quoted
Developers working on AFUs and AFU drivers often find it useful to see the
pr_devel() and dev_dbg() messages from cxl. Give them an easy way to enable
-DDEBUG by adding a Kconfig option, CONFIG_CXL_DEBUG.
Another option is to use DYNAMIC_DEBUG. If you turn that on the
dev_dbg()'s can be enabled at runtime, and you could en masse or
selectively convert the pr_devel()s to pr_debug() to get the same
result.

cheers
Andrew, DYNAMIC_DEBUG would be more useful for us because it can be 
enabled at runtime just like we do for cxlflash.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help