[bootlin/training-materials updates] master: ltrace: remove incorrect summary example (06d1665d)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:42 CEST 2021


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

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

commit 06d1665de5085ddba4118a353723c43c35a3ddd4
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Fri Oct 22 17:35:57 2021 +0200

    ltrace: remove incorrect summary example
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

06d1665de5085ddba4118a353723c43c35a3ddd4
 common/ltrace.tex | 31 +------------------------------
 1 file changed, 1 insertion(+), 30 deletions(-)

diff --git a/common/ltrace.tex b/common/ltrace.tex
index 3d6db8b5..bf499ccd 100644
--- a/common/ltrace.tex
+++ b/common/ltrace.tex
@@ -8,6 +8,7 @@
   \item Of course, works even if you don't have the sources
   \item Allows to filter library calls with regular expressions, or
     just by a list of function names.
+  \item Also offers a summary with its \code{-c} option.
   \item Manual page: \url{https://linux.die.net/man/1/ltrace}
   \item Works better with {\em glibc}. \code{ltrace} was broken
         with {\em uClibc} and may still be.
@@ -36,33 +37,3 @@ strcmp("$calltip_ID", "const 0") = -1
 \end{verbatim}
 \end{block}
 \end{frame}
-
-\begin{frame}[fragile]
-  \frametitle{ltrace summary}
-  Example summary at the end of the ltrace output (\code{-c} option)
-  \scriptsize
-  \begin{block}{}
-\begin{verbatim}
-Process 17019 detached
-% time     seconds  usecs/call     calls    errors syscall
------- ----------- ----------- --------- --------- ----------------
-100.00    0.000050          50         1           set_thread_area
-  0.00    0.000000           0        48           read
-  0.00    0.000000           0        44           write
-  0.00    0.000000           0        80        63 open
-  0.00    0.000000           0        19           close
-  0.00    0.000000           0         1           execve
-  0.00    0.000000           0         2         2 access
-  0.00    0.000000           0         3           brk
-  0.00    0.000000           0         1           munmap
-  0.00    0.000000           0         1           uname
-  0.00    0.000000           0         1           mprotect
-  0.00    0.000000           0        19           mmap2
-  0.00    0.000000           0        50        46 stat64
-  0.00    0.000000           0        18           fstat64
------- ----------- ----------- --------- --------- ----------------
-100.00    0.000050 288 111 total
-\end{verbatim}
-  \end{block}
-\end{frame}
-




More information about the training-materials-updates mailing list