A detailed description of Valgrind and its features is beyond the scope of this book. For more information, see the resources listed below.
valgrind(1) — The manual page for the
valgrind utility provides detailed information on how to use Valgrind. To display the manual page for the version included in Red Hat Developer Toolset, type:
scl enable devtoolset-4 'man valgrind'
documentation for Valgrind
is located at
Section B.7, “Changes in Valgrind”
provides a comprehensive list of features and improvements over the version of Valgrind
distributed in the previous release of Red Hat Developer Toolset.
Chapter 10, memstomp
documents how to use the memstomp
utility to identify calls to library functions with overlapping memory regions that are not allowed by various standards.
Chapter 11, SystemTap
provides an introduction to SystemTap
and explains how to use it to monitor the activities of a running system.
Chapter 13, OProfile
explains how to use OProfile
to determine which sections of code consume the greatest amount of CPU time and why.
Chapter 14, Dyninst
documents how to use the Dyninst library to instrument a user-space executable.