[bootlin/training-materials updates] master: debugging: slides: add small comment on uprobe internals (e0db4475)
Clément Léger
clement.leger at bootlin.com
Thu Nov 17 16:19:40 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/e0db44757db8047e2b21bca8b7ba12809d992e7e
>---------------------------------------------------------------
commit e0db44757db8047e2b21bca8b7ba12809d992e7e
Author: Clément Léger <clement.leger at bootlin.com>
Date: Thu Nov 17 16:17:40 2022 +0100
debugging: slides: add small comment on uprobe internals
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
e0db44757db8047e2b21bca8b7ba12809d992e7e
.../debugging-application-tracing/debugging-application-tracing.tex | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/slides/debugging-application-tracing/debugging-application-tracing.tex b/slides/debugging-application-tracing/debugging-application-tracing.tex
index 192e7e90..3cfa09be 100644
--- a/slides/debugging-application-tracing/debugging-application-tracing.tex
+++ b/slides/debugging-application-tracing/debugging-application-tracing.tex
@@ -61,7 +61,11 @@ $ LD_PRELOAD=my_lib.so ./exe
\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}
+ \begin{itemize}
+ \item Internally patches the text section with breakpoint that is handled
+ by the kernel trace system
+ \end{itemize}
+ \item Exposed by 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}
More information about the training-materials-updates
mailing list