[bootlin/training-materials updates] master: debugging: labs: fix kmemleak path (06228eb3)

Clément Léger clement.leger at bootlin.com
Fri Nov 25 10:37:22 CET 2022


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/06228eb3c5b480dd21256e2e31e73eb13fdc2794

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

commit 06228eb3c5b480dd21256e2e31e73eb13fdc2794
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Fri Nov 25 10:37:22 2022 +0100

    debugging: labs: fix kmemleak path
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

06228eb3c5b480dd21256e2e31e73eb13fdc2794
 labs/debugging-kernel-debugging/debugging-kernel-debugging.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
index a4078c36..748d2273 100644
--- a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
+++ b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
@@ -60,14 +60,14 @@ load the \code{kmemleak_test.ko} and trigger an immediate kmemleak scan using:
 \begin{bashinput}
 # cd /root/kmemleak
 # insmod kmemleak_test.ko
-# echo scan > /sys/kernel/module/kmemleak
+# echo scan > /sys/kernel/debug/kmemleak
 \end{bashinput}
 
 Soon after that, the kernel will report that some leaks have been identified.
 Display them and analyze them using:
 
 \begin{bashinput}
-# cat /sys/kernel/module/kmemleak
+# cat /sys/kernel/debug/kmemleak
 \end{bashinput}
 
 You can use \code{addr2line} to identify the location in source code of the




More information about the training-materials-updates mailing list