[FE training-materials-updates] slides/buildroot-analysis: add slides about graph-size functionality

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jun 8 14:17:53 CEST 2016


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=ee213792bdd699209fb8a0cb332d7d3e327d4697

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

commit ee213792bdd699209fb8a0cb332d7d3e327d4697
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Wed Jun 8 14:17:53 2016 +0200

    slides/buildroot-analysis: add slides about graph-size functionality
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


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

ee213792bdd699209fb8a0cb332d7d3e327d4697
 slides/buildroot-analysis/buildroot-analysis.tex |  32 ++++++++++++++++++++---
 slides/buildroot-analysis/graph-size.pdf         | Bin 0 -> 18036 bytes
 2 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/slides/buildroot-analysis/buildroot-analysis.tex b/slides/buildroot-analysis/buildroot-analysis.tex
index 9cd4dcc..a8be8e4 100644
--- a/slides/buildroot-analysis/buildroot-analysis.tex
+++ b/slides/buildroot-analysis/buildroot-analysis.tex
@@ -10,10 +10,8 @@
       which allows to analyze the list of packages and their licenses.
     \item The {\bf dependency graphing} tools
     \item The {\bf build time graphing} tools
+    \item The {\bf filesystem size} tools
     \end{itemize}
-  \item A tool to analyze the contribution of each package to the
-    filesystem size is under development, it should be merged in
-    Buildroot 2015.08. Patches are already available.
   \item Additional tools can be constructed using {\bf instrumentation
       scripts}
   \end{itemize}
@@ -103,6 +101,34 @@ BR2_GRAPH_OUT=png \
   \end{center}
 \end{frame}
 
+\begin{frame}{Filesystem size graphing}
+  \begin{itemize}
+  \item In many embedded systems, storage resources are limited.
+  \item For this reason, it is useful to be able to analyze the size
+    of your root filesystem, and see which packages are consuming the
+    biggest amount of space.
+  \item Allows to focus the size optimizations on the relevant
+    packages.
+  \item Buildroot collects data about the size installed by each
+    package.
+  \item \code{make graph-size} produces:
+    \begin{itemize}
+    \item \code{file-size-stats.csv}, CSV with the raw data of the
+      per-file size
+    \item \code{package-size-stats.csv}, CSV with the raw data of the
+      per-package size
+    \item \code{graph-size.pdf}, pie chart of the per-package size
+      consumption
+    \end{itemize}
+  \end{itemize}
+\end{frame}
+
+\begin{frame}{Filesystem size graphing: example}
+  \begin{center}
+    \includegraphics[width=\textwidth]{slides/buildroot-analysis/graph-size.pdf}
+  \end{center}
+\end{frame}
+
 \begin{frame}{Instrumentation scripts}
   \begin{itemize}
   \item Additional analysis tools can be constructed using the {\bf
diff --git a/slides/buildroot-analysis/graph-size.pdf b/slides/buildroot-analysis/graph-size.pdf
new file mode 100644
index 0000000..85747b5
Binary files /dev/null and b/slides/buildroot-analysis/graph-size.pdf differ




More information about the training-materials-updates mailing list