[FE training-materials-updates] Boot time slides: minor perf slide improvements
Michael Opdenacker
michael.opdenacker at free-electrons.com
Tue Dec 31 08:03:17 CET 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=51e4f2ef369b260c4f5ddcdd2db9d3c3240ab799
>---------------------------------------------------------------
commit 51e4f2ef369b260c4f5ddcdd2db9d3c3240ab799
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Tue Dec 31 05:38:09 2013 +0100
Boot time slides: minor perf slide improvements
- Font improvements
- Care improvements
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
51e4f2ef369b260c4f5ddcdd2db9d3c3240ab799
.../boottime-application/boottime-application.tex | 27 ++++++++++----------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/slides/boottime-application/boottime-application.tex b/slides/boottime-application/boottime-application.tex
index 3374e87..5f20a90 100644
--- a/slides/boottime-application/boottime-application.tex
+++ b/slides/boottime-application/boottime-application.tex
@@ -80,18 +80,19 @@
\begin{frame}
\frametitle{oprofile}
\begin{itemize}
- \item Two ways of working: legacy mode and perf\_events mode
- \item legacy mode:
+ \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 Low accuracy, use a kernel driver to profile
\item \code{CONFIG_OPROFILE}
- \item userspace tools: \code{opcontrol} and \code{oprofiled}
+ \item Userspace tools: \code{opcontrol} and \code{oprofiled}
\end{itemize}
- \item perf\_events mode:
+ \item {\em perf\_events} mode:
\begin{itemize}
- \item uses hardware performance counters
+ \item Uses hardware performance counters
\item \code{CONFIG_PERF_EVENTS} and \code{CONFIG_HW_PERF_EVENTS}
- \item userspace tools: \code{operf}
+ \item Userspace tools: \code{operf}
\end{itemize}
\end{itemize}
\end{frame}
@@ -99,7 +100,7 @@
\begin{frame}[fragile]
\frametitle{oprofile: usage}
\begin{itemize}
- \item legacy mode:
+ \item {\em legacy} mode:
\begin{block}{}
\begin{verbatim}
opcontrol --vmlinux=/path/to/vmlinux # optional step
@@ -108,13 +109,13 @@
opcontrol --stop
\end{verbatim}
\end{block}
- \item perf\_events mode:
+ \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:
+ \item Get the results with:
\begin{block}{}
\begin{verbatim}
opreport
@@ -164,15 +165,15 @@ Profiling through timer interrupt
\begin{itemize}
\item Uses hardware performance counters
\item \code{CONFIG_PERF_EVENTS} and \code{CONFIG_HW_PERF_EVENTS}
- \item userspace tool: \code{perf}. It is part of the kernel
+ \item Userspace tool: \code{perf}. It is part of the kernel
sources so it is always in sync with your kernel.
- \item usage:
+ \item Usage:
\begin{block}{}
\begin{verbatim}
perf record /my/command
\end{verbatim}
\end{block}
- \item get the results with:
+ \item Get the results with:
\begin{block}{}
\begin{verbatim}
perf report
More information about the training-materials-updates
mailing list