| '\" t |
| .\" Title: cg_diff |
| .\" Author: [see the "Author" section] |
| .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/> |
| .\" Date: 10/21/2016 |
| .\" Manual: Release 3.12.0 |
| .\" Source: Release 3.12.0 |
| .\" Language: English |
| .\" |
| .TH "CG_DIFF" "1" "10/21/2016" "Release 3.12.0" "Release 3.12.0" |
| .\" ----------------------------------------------------------------- |
| .\" * 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=<expr> [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=<expr> [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\&. |