[bootlin/training-materials updates] master: debugging: labs: add simpler way of preventing ANSI escape sequences in 'perf probe' output (173607a5)

Luca Ceresoli luca.ceresoli at bootlin.com
Thu Aug 24 21:57:44 CEST 2023


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

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

commit 173607a5fb1e5a23ea5d48ba249f846a6d4574da
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Thu Aug 24 21:49:11 2023 +0200

    debugging: labs: add simpler way of preventing ANSI escape sequences in 'perf probe' output
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

173607a5fb1e5a23ea5d48ba249f846a6d4574da
 .../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 2cb1c9d6..fcba5c3c 100644
--- a/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -43,7 +43,7 @@ $ perf probe --source=./ -x ./crc_random -L main
   \item In order to be able to add such userspace probe, perf needs to access
 symbols and source file
   \item If perf output is filled with misinterpreted ANSI escape sequences, you
-  can run the listing command on your host
+  can append \code{| cat} to the command or run the listing command on your host
  \end{itemize}}
 
 Then, we can create a uprobe and capture the crc value using:




More information about the training-materials-updates mailing list