[bootlin/training-materials updates] master: agenda: debugging: rework agenda (7e1a0814)
Clément Léger
clement.leger at bootlin.com
Wed Feb 1 10:51:38 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/7e1a08146f366e77dd765db48c847159afcf9687
>---------------------------------------------------------------
commit 7e1a08146f366e77dd765db48c847159afcf9687
Author: Clément Léger <clement.leger at bootlin.com>
Date: Wed Feb 1 10:51:13 2023 +0100
agenda: debugging: rework agenda
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
7e1a08146f366e77dd765db48c847159afcf9687
agenda/debugging-agenda.tex | 9 ++++-----
agenda/debugging-online-agenda.tex | 12 ++++++------
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/agenda/debugging-agenda.tex b/agenda/debugging-agenda.tex
index 2bd2a5e5..3810852f 100644
--- a/agenda/debugging-agenda.tex
+++ b/agenda/debugging-agenda.tex
@@ -118,6 +118,7 @@
\begin{itemize}
\item Tracing system calls with {\em strace}.
\item Tracing library calls with {\em ltrace}.
+ \item Overloading library functions using {\em LD\_PRELOAD}.
\end{itemize}
}
{Lab – Debugging application issues}
@@ -125,7 +126,8 @@
\begin{itemize}
\item Analyze dynamic library calls from an application using
{\em ltrace}.
- \item Debug a misbehaving application using {\em strace}.
+ \item Overloading library functions using {\em LD\_PRELOAD}.
+ \item Analyzing an application system calls using {\em strace}.
\end{itemize}
}
@@ -137,16 +139,14 @@
memory leaks, heap-stack collision.
\item Memory corruption tooling, {\em valgrind}, {\em libefence},
etc.
- \item Heap profiling using {\em Massif}
+ \item Heap profiling using {\em Massif} and {\em heaptrack}
\end{itemize}
}
{Lab – Debugging memory issues}
{
\begin{itemize}
- \item Buffer overflow investigation with {\em libefence}.
\item Memory leak and misbehavior detection with {\em valgrind} and
{\em vgdb}.
- \item Performance issues due to memory over allocation.
\item Visualizing application heap using {\em Massif}.
\end{itemize}
}
@@ -161,7 +161,6 @@
\item Gathering profiling data with {\em perf}.
\item Analyzing an application callgraph using {\em Callgrind}
and {\em KCachegrind}.
- \item Filtering the data set.
\item Interpreting the data recorded by {\em perf}.
\end{itemize}
}
diff --git a/agenda/debugging-online-agenda.tex b/agenda/debugging-online-agenda.tex
index 05a4a802..8c79ae3f 100644
--- a/agenda/debugging-online-agenda.tex
+++ b/agenda/debugging-online-agenda.tex
@@ -107,9 +107,9 @@
\begin{itemize}
\item Analysis of compiled C code with compiler-explorer to understand
optimizations.
- \item Managing {\em gdb} from the command line, then from an IDE.
- \item Using {\em gdb} Python scripting capabilities.
+ \item Managing {\em gdb} from the command line.
\item Debugging a crashed application using a coredump with {\em gdb}.
+ \item Using {\em gdb} Python scripting capabilities.
\end{itemize}
}
@@ -119,6 +119,7 @@
\begin{itemize}
\item Tracing system calls with {\em strace}.
\item Tracing library calls with {\em ltrace}.
+ \item Overloading library functions using {\em LD\_PRELOAD}.
\end{itemize}
}
{Demo – Debugging application issues}
@@ -126,7 +127,8 @@
\begin{itemize}
\item Analyze dynamic library calls from an application using
{\em ltrace}.
- \item Debug a misbehaving application using {\em strace}.
+ \item Overloading library functions using {\em LD\_PRELOAD}.
+ \item Analyzing an application system calls using {\em strace}.
\end{itemize}
}
@@ -138,7 +140,7 @@
memory leaks, heap-stack collision.
\item Memory corruption tooling, {\em valgrind}, {\em libefence},
etc.
- \item Heap profiling using {\em Massif}
+ \item Heap profiling using {\em Massif} and {\em heaptrack}
\end{itemize}
}
{Demo – Debugging memory issues}
@@ -146,7 +148,6 @@
\begin{itemize}
\item Memory leak and misbehavior detection with {\em valgrind} and
{\em vgdb}.
- \item Performance issues due to memory over allocation.
\item Visualizing application heap using {\em Massif}.
\end{itemize}
}
@@ -161,7 +162,6 @@
\item Gathering profiling data with {\em perf}.
\item Analyzing an application callgraph using {\em Callgrind}
and {\em KCachegrind}.
- \item Filtering the data set.
\item Interpreting the data recorded by {\em perf}.
\end{itemize}
}
More information about the training-materials-updates
mailing list