June 2017
Intermediate to advanced
478 pages
13h 14m
English
I introduced Valgrind in Chapter 13, Managing Memory, as a tool for identifying memory problems using the memcheck tool. Valgrind has other useful tools for application profiling. The two I am going to look at here are Callgrind and Helgrind. Since Valgrind works by running the code in a sandbox, it is able to check the code as it runs and report certain behaviors, which native tracers and profilers cannot do.
Read now
Unlock full access