From: Good Guy Date: Tue, 24 Jan 2023 20:14:15 +0000 (-0700) Subject: minor additions X-Git-Tag: 2023-01~3 X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=c7fc46cd3cfcc15a1dc7fb5cf967a457d52111fe;p=goodguy%2Fcin-manual-latex.git minor additions --- diff --git a/parts/Developer.tex b/parts/Developer.tex index 6b13612..5334f8d 100644 --- a/parts/Developer.tex +++ b/parts/Developer.tex @@ -470,7 +470,10 @@ It comes back with the routine as: \label{sec:valgrind_support_level} \index{build!valgrind} -Valgrind is a memory mis-management detector. It shows you memory leaks, deallocation errors, mismanaged threads, rogue reads/writes, etc. \CGG{} memory management is designed to work with Valgrind detection methods. This assists in developing reliable code. Use of Valgrind points out problems so that they can be fixed. For example, when this version of \CGG{} shuts down, it deallocates memory instead of just stopping, thus making memory leak detection possible. +Valgrind is a memory mis-management detector. It shows you memory leaks, deallocation errors, mismanaged threads, rogue reads/writes, etc. \CGG{} memory management is designed to work with Valgrind detection methods. This assists in developing reliable code. Use of Valgrind points out problems so that they can be fixed. For example, when this version of \CGG{} shuts down, it deallocates memory instead of just stopping, thus making memory leak detection possible. An alternative to Valgrind is +\textit{heaptrack} which has good documentation and for large programs can run +faster. You can find the source and information about it at {\small\url{https://github.com/KDE/heaptrack}}. +\index{valgrind!heaptrack} The best way to compile and run valgrind is to run the developer static build. This takes 2 steps and you must already have gdb and valgrind installed: diff --git a/parts/Installation.tex b/parts/Installation.tex index 6d5e612..d7fece7 100644 --- a/parts/Installation.tex +++ b/parts/Installation.tex @@ -632,6 +632,8 @@ git clean -i # interactive clean, use answer 1 to "clean" If you have a problem with the current GIT version, you can revert to a previous working version easily. The commands to use will be similar to these next lines which are then explained in more detail. +You need "history" to do this, so should not have used the "depth 1" +parameter on your GIT. \strut \begin{lstlisting}[style=sh]