'\" t .\" Title: cg_diff .\" Author: [see the "Author" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 01/02/2024 .\" Manual: cg_diff .\" Source: Release 3.20.0 .\" Language: English .\" .TH "CG_DIFF" "1" "01/02/2024" "Release 3\&.20\&.0" "cg_diff" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" cg_diff \- compares two Cachegrind output files .SH "SYNOPSIS" .HP \w'\fBcg_diff\fR\ 'u \fBcg_diff\fR [\fIoptions\fR] \fIcachegrind\-out\-file1\fR \fIcachegrind\-out\-file2\fR .SH "DESCRIPTION" .PP \fBcg_diff\fR takes two output files produced by the Valgrind tool Cachegrind, computes the difference and prints the result in the same format that Cachegrinds outputs\&. .SH "OPTIONS" .PP \fB\-h \-\-help \fR .RS 4 Show the help message\&. .RE .PP \fB\-\-version \fR .RS 4 Show the version number\&. .RE .PP \fB\-\-mod\-filename= [default: none]\fR .RS 4 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\&. .RE .PP \fB\-\-mod\-funcname= [default: none]\fR .RS 4 Like \fB\-\-mod\-filename\fR, but for filenames\&. Useful for removing minor differences in randomized names of auto\-generated functions generated by some compilers\&. .RE .SH "SEE ALSO" .PP cg_annotate(1), valgrind(1), $INSTALL/share/doc/valgrind/html/index\&.html or http://www\&.valgrind\&.org/docs/manual/index\&.html\&. .SH "AUTHOR" .PP Nicholas Nethercote\&.