[bootlin/training-materials updates] master: common/strace.tex: mention "strace -f" (04fc8e59)
Michael Opdenacker
michael.opdenacker at bootlin.com
Fri Sep 30 15:17:45 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/04fc8e595a190f7be645edc23213943c519ac7d4
>---------------------------------------------------------------
commit 04fc8e595a190f7be645edc23213943c519ac7d4
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Fri Sep 30 15:17:45 2022 +0200
common/strace.tex: mention "strace -f"
To follow child processes too
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
04fc8e595a190f7be645edc23213943c519ac7d4
common/strace.tex | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/strace.tex b/common/strace.tex
index 3bc6436d..9a6b985c 100644
--- a/common/strace.tex
+++ b/common/strace.tex
@@ -10,8 +10,9 @@
Often sufficient to find simple bugs.
\item Usage:\\
\code{strace <command>} (starting a new process)\\
+ \code{strace -f <command>} ({\bf f}ollow child processes too)\\
\code{strace -p <pid>} (tracing an existing process)\\
- \code{strace -c <command>} (statistics of system calls taking most time)
+ \code{strace -c <command>} (time statistics per system call)
\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