[bootlin/training-materials updates] master: debugging: add slide about uprobes (89f0dc06)

Clément Léger clement.leger at bootlin.com
Tue Nov 15 11:51:08 CET 2022


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

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

commit 89f0dc06e2bf9d09f871b67350fa50eed99cd58c
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Tue Nov 15 11:50:44 2022 +0100

    debugging: add slide about uprobes
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

89f0dc06e2bf9d09f871b67350fa50eed99cd58c
 .../debugging-application-tracing.tex                      | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/slides/debugging-application-tracing/debugging-application-tracing.tex b/slides/debugging-application-tracing/debugging-application-tracing.tex
index 2380d1e4..42f09bda 100644
--- a/slides/debugging-application-tracing/debugging-application-tracing.tex
+++ b/slides/debugging-application-tracing/debugging-application-tracing.tex
@@ -55,6 +55,20 @@ $ LD_PRELOAD=my_lib.so ./exe
   \end{block}
 \end{frame}
 
+\begin{frame}[fragile]
+  \frametitle{uprobes}
+  \begin{itemize}
+    \item {\em uprobe} is a mechanism offered by the kernel allowing to trace
+          userspace code.
+    \item Tracepoints can be added dynamically on any userspace symbol
+    \item Exposed in file \code{/sys/kernel/debug/tracing/uprobe_events}
+    \item Often wrapped up by other tools (\code{perf}, \code{bcc} for
+          instance).
+    \item \kdochtml{trace/uprobetracer}
+  \end{itemize}
+\end{frame}
+
+
 \begin{frame}[fragile]
   \frametitle{The {\em perf} tool}
   \begin{itemize}




More information about the training-materials-updates mailing list