[bootlin/training-materials updates] master: debugging: labs: add missing sched_switch event while recording (a0707b6f)

Clément Léger clement.leger at bootlin.com
Wed Nov 23 10:25:50 CET 2022


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

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

commit a0707b6f926866e8bd92726f9348f92189d2812d
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Wed Nov 23 10:25:50 2022 +0100

    debugging: labs: add missing sched_switch event while recording
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

a0707b6f926866e8bd92726f9348f92189d2812d
 .../debugging-system-wide-profiling/debugging-system-wide-profiling.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex b/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
index 84b7dba2..801fb78c 100644
--- a/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -84,7 +84,7 @@ We can see that something is wrong, our process does not seems to compute crc at
 a fixed rate. Let's trace the \code{sched_switch} events to see whats happening:
 
 \begin{bashinput}
-$ trace-cmd record -e probe_crc_random:main_L35 ./crc_random
+$ trace-cmd record -e sched_switch -e probe_crc_random:main_L35 ./crc_random
 ^C
 \end{bashinput}
 




More information about the training-materials-updates mailing list