[bootlin/training-materials updates] master: debugging: labs: add sched_switch event to trace recording (46ef41d5)

Clément Léger clement.leger at bootlin.com
Thu Nov 17 13:10:31 CET 2022


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

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

commit 46ef41d50fa53fa327717e2a055115304b3ab46d
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Thu Nov 17 11:52:01 2022 +0100

    debugging: labs: add sched_switch event to trace recording
    
    This allows to show both kernel and userspace recording
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

46ef41d50fa53fa327717e2a055115304b3ab46d
 labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex | 1 +
 1 file changed, 1 insertion(+)

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 b8766941..99006d97 100644
--- a/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -74,6 +74,7 @@ $ lttng-sessiond --daemonize
 $ lttng create crc_session
 $ lttng enable-event --userspace crc_random:compute_crc_entry
 $ lttng enable-event --userspace crc_random:compute_crc_exit
+$ lttng enable-event --kernel sched_switch
 $ lttng start
 $ ./crc_random
 $ lttng destroy




More information about the training-materials-updates mailing list