[bootlin/training-materials updates] master: Improve strace slide (3d966d6e)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Aug 5 12:34:02 CEST 2020


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

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

commit 3d966d6e91d27f3340ee81a4f4844c85fae6d9a3
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Aug 5 12:34:02 2020 +0200

    Improve strace slide
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

3d966d6e91d27f3340ee81a4f4844c85fae6d9a3
 common/strace-mascot.png | Bin 0 -> 48428 bytes
 common/strace.tex        |  25 +++++++++++++++----------
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/common/strace-mascot.png b/common/strace-mascot.png
new file mode 100644
index 00000000..49922ed5
Binary files /dev/null and b/common/strace-mascot.png differ
diff --git a/common/strace.tex b/common/strace.tex
index 2edecd08..bd158009 100644
--- a/common/strace.tex
+++ b/common/strace.tex
@@ -1,22 +1,27 @@
-\begin{frame}
+\begin{frame}[fragile]
   \frametitle{strace}
-  System call tracer\\
-  \url{https://sourceforge.net/projects/strace/}
+  \begin{columns}
+  \column{0.75\textwidth}
+  \small
+  System call tracer - \url{https://strace.io}
   \begin{itemize}
   \item Available on all GNU/Linux systems\\
-    Can be built by your cross-compiling toolchain generator.
+        Can be built by your cross-compiling toolchain generator.
   \item Even easier: drop a ready-made static binary for your
         architecture, just when you need it. See
-        \url{https://github.com/bootlin/static-binaries/tree/master/strace}
-  \item Allows to see what any of your processes is doing:\\
-    accessing files, allocating memory...\\
-    Often sufficient to find simple bugs.
+        \url{https://frama.link/q5WcWayh}
+  \item Allows to see what any of your processes is doing: accessing files, allocating memory...
+        Often sufficient to find simple bugs.
   \item Usage:\\
     \code{strace <command>} (starting a new process)\\
-    \code{strace -p <pid>} (tracing an existing process)
+    \code{strace -p <pid>} (tracing an existing process)\\
     \code{strace -c <command>} (statistics of system calls taking most time)
   \end{itemize}
-  See \code{man strace} for details.
+  See \href{https://man7.org/linux/man-pages/man1/strace.1.html}{the strace manual} for details.
+  \column{0.25\textwidth}
+  \includegraphics[height=0.7\textheight]{common/strace-mascot.png}\\
+  \tiny Image credits: \url{https://strace.io/}
+  \end{columns}
 \end{frame}
 
 \begin{frame}[fragile]




More information about the training-materials-updates mailing list