From 8c38623b4e97a31213c8bab2934a0c7fcfc2a75e Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Wed, 27 May 2020 13:08:07 +0200 Subject: [PATCH] Update valgrind.md fixed introduction structure, related to #68 --- docs.it4i/software/debuggers/valgrind.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs.it4i/software/debuggers/valgrind.md b/docs.it4i/software/debuggers/valgrind.md index 8c82a7e36..8ba893e97 100644 --- a/docs.it4i/software/debuggers/valgrind.md +++ b/docs.it4i/software/debuggers/valgrind.md @@ -1,12 +1,10 @@ # Valgrind -Valgrind is a tool for memory debugging and profiling. +## Introduction -## About Valgrind +Valgrind is an open-source tool for memory debugging and profiling. It is used mainly for debugging memory-related problems, such as memory leaks, use of uninitalized memory, etc. in C/C++ applications. However, the toolchain has been extended over time with more functionality, such as debugging of threaded applications, cache profiling, not limited only to C/C++. -Valgrind is an open-source tool used mainly for debugging memory-related problems, such as memory leaks, use of uninitalized memory, etc. in C/C++ applications. However, the toolchain was extended over time with more functionality, such as debugging of threaded applications, cache profiling, not limited only to C/C++. - -Valgind is an extremely useful tool for debugging memory errors such as [off-by-one][a]. Valgrind uses a virtual machine and dynamic recompilation of binary code, so you can expect that programs being debugged by Valgrind run 5-100 times slower. +Valgrind is an extremely useful tool for debugging memory errors such as [off-by-one][a]. Valgrind uses a virtual machine and dynamic recompilation of binary code, so you can expect that programs being debugged by Valgrind run 5-100 times slower. The main tools available in Valgrind are: -- GitLab