[bootlin/training-materials updates] master: boot-time slides: update Bootchart slide (ffec825e)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Jun 7 15:32:55 CEST 2023


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

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

commit ffec825e88f36817e208010d22fdc5812b3f895f
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Jun 7 15:32:55 2023 +0200

    boot-time slides: update Bootchart slide
    
    - Now that bootchart.org no longer exists
    - Merge 2 slides in one
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

ffec825e88f36817e208010d22fdc5812b3f895f
 .../boot-time-init-scripts.tex                     | 33 +++++++++-------------
 1 file changed, 13 insertions(+), 20 deletions(-)

diff --git a/slides/boot-time-init-scripts/boot-time-init-scripts.tex b/slides/boot-time-init-scripts/boot-time-init-scripts.tex
index 3d65e962..e8f77136 100644
--- a/slides/boot-time-init-scripts/boot-time-init-scripts.tex
+++ b/slides/boot-time-init-scripts/boot-time-init-scripts.tex
@@ -11,32 +11,22 @@ starting the application:
 \end{itemize}
 \end{frame}
 
-\begin{frame}
+\begin{frame}[fragile]
 \frametitle{Measuring - bootchart}
 \begin{columns}
-\column{0.65\textwidth}
+\column{0.75\textwidth}
+\small
 \begin{itemize}
 	\item If you want to have a more detailed look at the userland boot sequence
-              than with \code{grabserial}, you can use \code{bootchart}.
-	\item \url{http://www.bootchart.org}
-\end{itemize}
-\column{0.35\textwidth}
-\includegraphics[height=0.85\textheight]{slides/boot-time-init-scripts/bootlog.png}
-\end{columns}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{Measuring - bootchart}
-\begin{itemize}
-	\item You can use \code{bootchartd} from \code{busybox}
-	      (\kconfig{CONFIG_BOOTCHARTD=y})
+              than with \code{grabserial}.
+	\item You can trace processes running at init time with \code{bootchartd}
+	      from \code{busybox} (\kconfig{CONFIG_BOOTCHARTD=y})
 	\item Boot your board passing \code{init=/sbin/bootchartd} on your
 	      kernel command line
-	\item Copy the generated \code{/var/log/bootlog.tgz} file from your target to your host
-	\item The last release of Bootchart is from 2007, and is now
-	      broken on \url{http://www.bootchart.org}. Download a copy
-	      from \url{https://bootlin.com/pub/source/bootchart-0.9.tar.bz2}
-	\item Generate the timechart:
+	\item Copy \code{/var/log/bootlog.tgz} to your host.
+	\item Use Bootchart from
+	      \url{https://bootlin.com/pub/source/bootchart-0.9.tar.bz2}
+	      (Bootchart is no longer maintained), to generate a timechart:
 \begin{block}{}
 \begin{verbatim}
 cd bootchart-<version>
@@ -45,6 +35,9 @@ java -jar bootchart.jar bootlog.tgz
 \end{block}
 	\item This produces a \code{bootlog.png} image
 \end{itemize}
+\column{0.25\textwidth}
+\includegraphics[width=\textwidth]{slides/boot-time-init-scripts/bootlog.png}
+\end{columns}
 \end{frame}
 
 \begin{frame}[fragile]




More information about the training-materials-updates mailing list