[bootlin/training-materials updates] master: common: strace: add mention to expressions (238e4890)
Alexis Lothoré
alexis.lothore at bootlin.com
Wed Jul 5 09:56:54 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/238e4890be76d498667ea342d502a9f7ed2bb2ca
>---------------------------------------------------------------
commit 238e4890be76d498667ea342d502a9f7ed2bb2ca
Author: Alexis Lothoré <alexis.lothore at bootlin.com>
Date: Wed Jul 5 09:56:54 2023 +0200
common: strace: add mention to expressions
Once strace basics have been introduced, trainees will likely want to know
how to filter strace output. Mention the -e option to at least let them
know that a mechanism exist, without detailing it too much for now
Fixes #193
Signed-off-by: Alexis Lothoré <alexis.lothore at bootlin.com>
>---------------------------------------------------------------
238e4890be76d498667ea342d502a9f7ed2bb2ca
common/strace.tex | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/strace.tex b/common/strace.tex
index 9a6b985c..3c242200 100644
--- a/common/strace.tex
+++ b/common/strace.tex
@@ -13,6 +13,7 @@
\code{strace -f <command>} ({\bf f}ollow child processes too)\\
\code{strace -p <pid>} (tracing an existing process)\\
\code{strace -c <command>} (time statistics per system call)
+ \code{strace -e <expr> <command>} (use {\bf e}xpression for advanced filtering)
\end{itemize}
See \href{https://man7.org/linux/man-pages/man1/strace.1.html}{the strace manual} for details.
\column{0.25\textwidth}
More information about the training-materials-updates
mailing list