[bootlin/training-materials updates] master: labs: debugging: add lttng-gen-tp package installation and fix typos (6a09394c)

Clément Léger clement.leger at bootlin.com
Fri Feb 3 10:28:22 CET 2023


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

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

commit 6a09394cec9c8c4db07308bcb29f724e22e3c5f9
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Fri Feb 3 10:28:22 2023 +0100

    labs: debugging: add lttng-gen-tp package installation and fix typos
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

6a09394cec9c8c4db07308bcb29f724e22e3c5f9
 .../debugging-system-wide-profiling.tex                   | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

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 9e4db069..b3520c19 100644
--- a/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -120,12 +120,17 @@ this. We'll add 2 tracepoints:
 
 In order to create these tracepoints easily, we will create a
 \code{crc_random-tp.tp} file and generate the tracepoints using
-\code{lttng-gen-tp}. These tracepoints should belong to the \code{crc_random}
-provider namespace. Once written, generate the tracepoints provider package
-header and template using:
+\code{lttng-gen-tp}. In order to install this tool, the \code{liblttng-ust-dev}
+should be installed:
 
-Once added, you can modify the \code{Makefile} by adding a new rule and
-modifying the existing one to use the generated files.
+\begin{bashinput}
+sudo apt install liblttng-ust-dev
+\end{bashinput}
+
+These tracepoints should belong to the \code{crc_random}
+provider namespace. Once written, you can modify the \code{Makefile} by adding a
+new rule and modifying the existing one to generate the tracepoints files using
+\code{lttng-gen-tp}:
 
 \begin{bashinput}
   crc_random-tp.o: crc_random-tp.tp




More information about the training-materials-updates mailing list