Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

cg_diff (1)

Name

cg_diff - compares two Cachegrind output files

Synopsis

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

Description

CG_DIFF(1)                          cg_diff                         CG_DIFF(1)



NAME
       cg_diff - compares two Cachegrind output files

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

DESCRIPTION
       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
       -h --help
           Show the help message.

       --version
           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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+--------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE      |
       +---------------+--------------------------+
       |Availability   | developer/debug/valgrind |
       +---------------+--------------------------+
       |Stability      | Uncommitted              |
       +---------------+--------------------------+

SEE ALSO
       cg_annotate(1), valgrind(1),
       $INSTALL/share/doc/valgrind/html/index.html or
       http://www.valgrind.org/docs/manual/index.html.

AUTHOR
       Nicholas Nethercote.



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       ftp://sourceware.org/pub/valgrind/valgrind-3.18.1.tar.bz2.

       Further information about this software can be found on the open source
       community website at http://valgrind.org.



Release 3.18.0                    06/28/2022                        CG_DIFF(1)