1CG_DIFF(1) cg_diff CG_DIFF(1)
2
3
4
6 cg_diff - compares two Cachegrind output files
7
9 cg_diff [options] cachegrind-out-file1 cachegrind-out-file2
10
12 cg_diff takes two output files produced by the Valgrind tool
13 Cachegrind, computes the difference and prints the result in the same
14 format that Cachegrinds outputs.
15
17 -h --help
18 Show the help message.
19
20 --version
21 Show the version number.
22
23 --mod-filename=<expr> [default: none]
24 Specifies a Perl search-and-replace expression that is applied to
25 all filenames. Useful for removing minor differences in paths
26 between two different versions of a program that are sitting in
27 different directories.
28
29 --mod-funcname=<expr> [default: none]
30 Like --mod-filename, but for filenames. Useful for removing minor
31 differences in randomized names of auto-generated functions
32 generated by some compilers.
33
35 cg_annotate(1), valgrind(1),
36 $INSTALL/share/doc/valgrind/html/index.html or
37 http://www.valgrind.org/docs/manual/index.html.
38
40 Nicholas Nethercote.
41
42
43
44Release 3.18.0 10/15/2021 CG_DIFF(1)