CG_DIFF(1)                     Release 3.15.0                     CG_DIFF(1)

NAME         top

       cg_diff - compares two Cachegrind output files

SYNOPSIS         top

       cg_diff [options] cachegrind-out-file1 cachegrind-out-file2

DESCRIPTION         top

       cg_diff takes two output files produced by the Valgrind tool
       Cachegrind, computes the difference and prints the result in the same
       format that Cachegrinds outputs.

OPTIONS         top

       -h --help
           Show the help message.

           Show the version number.

       --mod-filename=<expr> [default: none]
           Specifies a Perl search-and-replace expression that is applied to
           all filenames. Useful for removing minor differences in paths
           between two different versions of a program that are sitting in
           different directories.

       --mod-funcname=<expr> [default: none]
           Like --mod-filename, but for filenames. Useful for removing minor
           differences in randomized names of auto-generated functions
           generated by some compilers.

SEE ALSO         top

       cg_annotate(1), valgrind(1),
       $INSTALL/share/doc/valgrind/html/index.html or

AUTHOR         top

       Nicholas Nethercote.

COLOPHON         top

       This page is part of the valgrind (a system for debugging and
       profiling Linux programs) project.  Information about the project can
       be found at ⟨⟩.  If you have a bug report for
       this manual page, see
       ⟨⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2020-02-08.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2020-02-08.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

Release 3.15.0                   02/08/2020                       CG_DIFF(1)