[bootlin/training-materials updates] master: slides: debugging: fix "trace-cmd show" -> "trace-cmd report" (e608bc4f)

Clément Léger clement.leger at bootlin.com
Thu Mar 23 09:29:06 CET 2023


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

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

commit e608bc4f076b0956787e4ac091ae2d50ec3413c6
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Thu Mar 23 09:16:05 2023 +0100

    slides: debugging: fix "trace-cmd show" -> "trace-cmd report"
    
    show is meant to display the trace buffer but when recording, the trace
    buffer is dumped into a trace.dat file that can be opened with "trace-cmd
    report".
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

e608bc4f076b0956787e4ac091ae2d50ec3413c6
 .../debugging-system-wide-profiling.tex                               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex b/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
index 82e3e3f0..abc3192b 100644
--- a/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -670,11 +670,11 @@ $ trace-cmd record -p function_graph dd if=/dev/mmcblk0 of=out bs=512 count=10
   \end{block}
 
   \begin{itemize}
-    \item Visualize the data that have been acquired:
+    \item Visualize the data that have been acquired in \code{trace.dat}:
   \end{itemize}
   \begin{block}{}
     \begin{minted}[fontsize=\tiny]{console}
-$ trace-cmd show
+$ trace-cmd report
     \end{minted}
   \end{block}
 \end{frame}




More information about the training-materials-updates mailing list