[bootlin/training-materials updates] master: debugging: add -g3 compile flag to crc_random (d84f2773)

Clément Léger clement.leger at bootlin.com
Thu Nov 17 13:10:31 CET 2022


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

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

commit d84f2773e8325bbe7c92a8f4531240d2ac31494b
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Thu Nov 17 13:09:42 2022 +0100

    debugging: add -g3 compile flag to crc_random
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

d84f2773e8325bbe7c92a8f4531240d2ac31494b
 .../debugging-system-wide-profiling/debugging-system-wide-profiling.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex b/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
index 99006d97..4e08aebc 100644
--- a/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
+++ b/labs/debugging-system-wide-profiling/debugging-system-wide-profiling.tex
@@ -38,7 +38,7 @@ computes crc32 on a buffer of random data. Compile it using the provided toolcha
 
 \begin{bashinput}
 $ cd /home/<user>/debugging-labs/nfsroot/root/system_profiling
-$  $(CROSS_COMPILE)-gcc -Wall -Werror crc_random.c -o crc_random
+$  $(CROSS_COMPILE)-gcc -Wall -Werror -g3 crc_random.c -o crc_random
 \end{bashinput}
 
 In order to observe our program performances, we want to instrument it with




More information about the training-materials-updates mailing list