cg_diff(1) — Linux manual page


CG_DIFF(1)                       cg_diff                      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 2021-08-27.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2021-08-06.)  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.17.0                 08/27/2021                     CG_DIFF(1)