[bootlin/training-materials updates] master: slides: printk: fix command to enable a specific line (444f8640)
Clément Léger
clement.leger at bootlin.com
Thu Feb 2 15:52:24 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/444f86409f51d680492c38dfdde0b03e7ea989af
>---------------------------------------------------------------
commit 444f86409f51d680492c38dfdde0b03e7ea989af
Author: Clément Léger <clement.leger at bootlin.com>
Date: Thu Feb 2 15:52:24 2023 +0100
slides: printk: fix command to enable a specific line
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
444f86409f51d680492c38dfdde0b03e7ea989af
common/printk.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/printk.tex b/common/printk.tex
index 93ecf969..24263ff1 100644
--- a/common/printk.tex
+++ b/common/printk.tex
@@ -113,7 +113,7 @@ dev_info(&pdev->dev, "in probe\n");
will enable all debug prints in \code{drivers/pinctrl/core.c}
\item \code{echo "module pciehp +p" > /sys/kernel/debug/dynamic_debug/control}
will enable the debug print located in the \code{pciehp} module
- \item \code{echo "line init/main.c:1427 +p" > /sys/kernel/debug/dynamic_debug/control}
+ \item \code{echo "file init/main.c line 1427 +p" > /sys/kernel/debug/dynamic_debug/control}
will enable the debug print located at line 1247 of file \code{init/main.c}
\item Replace \code{+p} with \code{-p} to disable the debug print
\end{itemize}
More information about the training-materials-updates
mailing list