On 7/18/2016 5:49 AM, Michael Ellerman wrote:
Andrew Donnellan <andrew.donnel...@au1.ibm.com> writes:

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.

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to