[bootlin/training-materials updates] master: Boot time: remove Oprofile slides (5a97ef4a)

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/5a97ef4a9a3458d46b698230a044ecaf1ba06c60

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

commit 5a97ef4a9a3458d46b698230a044ecaf1ba06c60
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Oct 26 20:48:58 2021 +0200

    Boot time: remove Oprofile slides
    
    - Obsoleted by perf
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

5a97ef4a9a3458d46b698230a044ecaf1ba06c60
 .../boot-time-application.tex                      | 84 ----------------------
 1 file changed, 84 deletions(-)

diff --git a/slides/boot-time-application/boot-time-application.tex b/slides/boot-time-application/boot-time-application.tex
index ab670fc1..a580d78f 100644
--- a/slides/boot-time-application/boot-time-application.tex
+++ b/slides/boot-time-application/boot-time-application.tex
@@ -26,90 +26,6 @@
 \input{../common/strace.tex}
 \input{../common/ltrace.tex}
 
-\begin{frame}
-\frametitle{oprofile}
-A system-wide profiler
-\begin{itemize}
-	\item Two ways of working: {\em legacy} mode and {\em
-              perf\_events} mode
-	\item {\em legacy} mode:
-	\begin{itemize}
-		\item Low accuracy, use a kernel driver to profile
-		\item \kconfig{CONFIG_OPROFILE}
-		\item User space tools: \code{opcontrol} and \code{oprofiled}
-	\end{itemize}
-	\item {\em perf\_events} mode:
-	\begin{itemize}
-		\item Uses hardware performance counters
-		\item \kconfig{CONFIG_PERF_EVENTS} and \kconfig{CONFIG_HW_PERF_EVENTS}
-		\item User space tools: \code{operf}
-	\end{itemize}
-\end{itemize}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{oprofile: usage}
-\begin{itemize}
-	\item {\em legacy} mode:
-	\begin{block}{}
-\begin{verbatim}
-opcontrol --vmlinux=/path/to/vmlinux # optional step
-opcontrol --start
-/my/command
-opcontrol --stop
-\end{verbatim}
-	\end{block}
-	\item {\em perf\_events} mode:
-	\begin{block}{}
-\begin{verbatim}
-operf --vmlinux=/path/to/vmlinux /my/command
-\end{verbatim}
-	\end{block}
-	\item Get the results with:
-	\begin{block}{}
-\begin{verbatim}
-opreport
-\end{verbatim}
-	\end{block}
-\end{itemize}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{oprofile}
-\begin{block}{}
-\tiny
-\begin{verbatim}
-# opreport
-Using /var/lib/oprofile/samples/ for samples directory.
-CPU: CPU with timer interrupt, speed 393 MHz (estimated)
-Profiling through timer interrupt
-          TIMER:0|
-  samples|      %|
-------------------
-     1540 78.3715 no-vmlinux
-      105  5.3435 libQtGui.so.4.8.4
-       66  3.3588 libc-2.15.so
-       64  3.2570 libQtCore.so.4.8.4
-       58  2.9517 ld-2.15.so
-       45  2.2901 libgobject-2.0.so.0.3000.3
-       37  1.8830 libgstreamer-0.10.so.0.30.0
-       13  0.6616 libglib-2.0.so.0.3000.3
-        9  0.4580 libQtScript.so.4.8.4
-        6  0.3053 libgcc_s.so.1
-        4  0.2036 libQtDeclarative.so.4.8.4
-        4  0.2036 libstdc++.so.6.0.17
-        3  0.1527 libpthread-2.15.so
-        2  0.1018 busybox
-        2  0.1018 libQtSvg.so.4.8.4
-        2  0.1018 libQtWebKit.so.4.9.3
-        2  0.1018 libgthread-2.0.so.0.3000.3
-        1  0.0509 HomeAutomation
-        1  0.0509 libQtNetwork.so.4.8.4
-        1  0.0509 libphonon_gstreamer.so
-\end{verbatim}
-\end{block}
-\end{frame}
-
 \begin{frame}[fragile]
 \frametitle{perf}
 \begin{itemize}




More information about the training-materials-updates mailing list