From 7a45c6951c63c6ac2d5fc6fa52f9b2d0efd7e25e Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 30 Nov 2024 23:38:35 +0100 Subject: [PATCH] labs/sysdev-application-development-and-debugging: add details about perf Signed-off-by: Thomas Petazzoni --- .../sysdev-application-development-and-debugging.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/labs/sysdev-application-development-and-debugging/sysdev-application-development-and-debugging.tex b/labs/sysdev-application-development-and-debugging/sysdev-application-development-and-debugging.tex index b2d92abd90..06bfddf514 100644 --- a/labs/sysdev-application-development-and-debugging/sysdev-application-development-and-debugging.tex +++ b/labs/sysdev-application-development-and-debugging/sysdev-application-development-and-debugging.tex @@ -455,7 +455,9 @@ \section{Profiling the application with perf} \end{bashinput} See the time spent in various kernel (\code{[k]}) and userspace -(\code{[.]}) functions. +(\code{[.]}) functions. The details of the kernel functions is not +visible, but additional symbol information can be added by building +the kernel with the \code{CONFIG_KALLSYMS_ALL} option enabled. Now, let's profile the whole system. First, make sure that the system is currently playing audio. Then SSH to your board and run \code{perf top}