[bootlin/training-materials updates] master: debugging: add example of bcc tools (acc721b0)
Clément Léger
clement.leger at bootlin.com
Tue Nov 15 11:51:06 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/acc721b0918a2884cf33e2190963122ebb69cd1f
>---------------------------------------------------------------
commit acc721b0918a2884cf33e2190963122ebb69cd1f
Author: Clément Léger <clement.leger at bootlin.com>
Date: Tue Nov 15 11:49:04 2022 +0100
debugging: add example of bcc tools
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
acc721b0918a2884cf33e2190963122ebb69cd1f
.../debugging-system-wide-profiling.tex | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex b/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
index cbeae082..5f01fd25 100644
--- a/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/slides/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -855,6 +855,25 @@ void any_func(void)
\tiny Image credits: \url{https://www.brendangregg.com/ebpf.html}
\end{frame}
+\begin{frame}[fragile]
+ \frametitle{BCC tcpconnect tool example}
+ \begin{block}{}
+ \begin{minted}[fontsize=\small]{console}
+$ tcpconnect
+PID COMM IP SADDR DADDR DPORT
+220321 ssh 6 ::1 ::1 22
+220321 ssh 4 127.0.0.1 127.0.0.1 22
+17676 Chrome_Child 6 2a01:cb15:81e4:8100:37cf:d45b:d87d:d97d 2606:50c0:8003::154 443
+17777 code 4 192.168.1.105 20.189.173.5 443
+17777 code 4 192.168.1.105 20.189.173.5 443
+17815 code 4 192.168.1.105 20.189.173.5 443
+17777 code 4 192.168.1.105 20.42.73.27 443
+17815 code 4 192.168.1.105 20.42.73.27 443
+17777 code 4 192.168.1.105 20.42.73.27 443
+ \end{minted}
+ \end{block}
+\end{frame}
+
\begin{frame}[fragile]
\frametitle{Using BCC with python}
\begin{itemize}
More information about the training-materials-updates
mailing list