[BL training-materials-updates] kernel-driver-development-debugging: adjust explanation about dynamic debug

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Jul 20 09:51:11 CEST 2018


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=0434111a3fb7fa8434411ada454558a717d1c377

>---------------------------------------------------------------

commit 0434111a3fb7fa8434411ada454558a717d1c377
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Fri Jul 20 09:49:50 2018 +0200

    kernel-driver-development-debugging: adjust explanation about dynamic debug
    
    Some people where confused about the behavior of
    DEBUG/CONFIG_DYNAMIC_DEBUG: it wasn't clear to them that it's only
    when neither DEBUG nor CONFIG_DYNAMIC_DEBUG are used that the messages
    are not compiled in. I.e, they thought they needed both the debugging
    messages to be enabled.
    
    Let's reword a bit the explanation in an attempt to clarify that.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


>---------------------------------------------------------------

0434111a3fb7fa8434411ada454558a717d1c377
 .../kernel-driver-development-debugging.tex                          | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex b/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex
index 3e9701f..464ec1f 100644
--- a/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex
+++ b/slides/kernel-driver-development-debugging/kernel-driver-development-debugging.tex
@@ -67,9 +67,8 @@ dev_info(&pdev->dev, "in probe\n");
     \item Very powerful feature to only get the debug messages you're
       interested in.
     \end{itemize}
-  \item When \code{DEBUG} is not defined and
-    \code{CONFIG_DYNAMIC_DEBUG} is not enabled, these messages are not
-    compiled in.
+  \item When neither \code{DEBUG} nor \code{CONFIG_DYNAMIC_DEBUG} are
+    used, these messages are not compiled in.
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list