[bootlin/training-materials updates] master: slides: debugging: fix spacing in LTTNG template (b4dd83e5)
Clément Léger
clement.leger at bootlin.com
Fri Feb 3 10:47:55 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/b4dd83e59682bfc3d166254a44aebb8c814c986f
>---------------------------------------------------------------
commit b4dd83e59682bfc3d166254a44aebb8c814c986f
Author: Clément Léger <clement.leger at bootlin.com>
Date: Fri Feb 3 10:47:55 2023 +0100
slides: debugging: fix spacing in LTTNG template
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
b4dd83e59682bfc3d166254a44aebb8c814c986f
.../debugging-system-wide-profiling.tex | 24 ++++++++++++----------
1 file changed, 13 insertions(+), 11 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 00d2d3e7..98b8c289 100644
--- a/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -1178,20 +1178,22 @@ $ gcc hello_world.c hello_world-tp.c -llttng-ust -o hello_world
\end{itemize}
\begin{block}{}
\begin{minted}[fontsize=\tiny]{C}
-LTTNG_UST_TRACEPOINT_EVENT(
-// Tracepoint provider name
-hello_world,
+ LTTNG_UST_TRACEPOINT_EVENT(
+ // Tracepoint provider name
+ hello_world,
-// Tracepoint/event name
-first_tp,
+ // Tracepoint/event name
+ first_tp,
-// Tracepoint arguments (input)
-LTTNG_UST_TP_ARGS(char *, text),
+ // Tracepoint arguments (input)
+ LTTNG_UST_TP_ARGS(
+ char *, text
+ ),
-// Tracepoint/event fields (output)
-LTTNG_UST_ TP_FIELDS(
- lttng_ust_field_string(message, text)
-)
+ // Tracepoint/event fields (output)
+ LTTNG_UST_TP_FIELDS(
+ lttng_ust_field_string(message, text)
+ )
)
\end{minted}
\end{block}
More information about the training-materials-updates
mailing list