3
Open source memory leak detector and profiller. Very powerful, it is able
4
to profile CPU and HEAP, simullate cache and branching behaviour. There is
5
even alpha version of I/O profiller available. However, it's extremely
10
--track-origins=yes Track uninitialized values
14
cachegrind: Cache simmulator
15
callgrind: Tree profiler
16
helgrind: Pthread debugger (race conditions,...)
17
massif: Heap profiller
18
memcheck: Memory debugger
20
iogrind: Third party, IO profiller (prealpha)
25
--collect-jumps=yes - callgrind
26
--simulate-cache=yes - callgrind, cache behaviour simulation
27
--simulate-hwpref=yes - callgrind, prefetch simulation
28
--cache-sim=yes - Cachegrind
29
--branch-sim=yes - Cachegrind
32
--track-lockorders=yes - Helgrind
33
--show-conflicts=yes - Helgrind
34
--enable-sg-checks=yes - Memcheck
37
valgrind --tool=<tool_name> <tool_options> app
42
valgrind --tool=callgrind <application>
43
create callgrind.out.* in working directory
45
callgrind_annotate - information
46
callgrind_annotate --tree=both - in tree form
48
callgrind_control - controlling callgrind process
49
we may start and stop instrumentation, etc.
b'\\ No newline at end of file'