blob: 3e83131692766930e2cce6057ccb691be85a9ae8 [file] [log] [blame]
Elliott Hughesa0664b92017-04-18 17:46:52 -07001'\" t
2.\" Title: cg_diff
3.\" Author: [see the "Author" section]
Elliott Hughesed398002017-06-21 14:41:24 -07004.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5.\" Date: 06/15/2017
6.\" Manual: Release 3.13.0
7.\" Source: Release 3.13.0
Elliott Hughesa0664b92017-04-18 17:46:52 -07008.\" Language: English
9.\"
Elliott Hughesed398002017-06-21 14:41:24 -070010.TH "CG_DIFF" "1" "06/15/2017" "Release 3.13.0" "Release 3.13.0"
Elliott Hughesa0664b92017-04-18 17:46:52 -070011.\" -----------------------------------------------------------------
12.\" * Define some portability stuff
13.\" -----------------------------------------------------------------
14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18.ie \n(.g .ds Aq \(aq
19.el .ds Aq '
20.\" -----------------------------------------------------------------
21.\" * set default formatting
22.\" -----------------------------------------------------------------
23.\" disable hyphenation
24.nh
25.\" disable justification (adjust text to left margin only)
26.ad l
27.\" -----------------------------------------------------------------
28.\" * MAIN CONTENT STARTS HERE *
29.\" -----------------------------------------------------------------
30.SH "NAME"
31cg_diff \- compares two Cachegrind output files
32.SH "SYNOPSIS"
33.HP \w'\fBcg_diff\fR\ 'u
34\fBcg_diff\fR [\fIoptions\fR] \fIcachegrind\-out\-file1\fR \fIcachegrind\-out\-file2\fR
35.SH "DESCRIPTION"
36.PP
37\fBcg_diff\fR
38takes two output files produced by the Valgrind tool Cachegrind, computes the difference and prints the result in the same format that Cachegrinds outputs\&.
39.SH "OPTIONS"
40.PP
41\fB\-h \-\-help \fR
42.RS 4
43Show the help message\&.
44.RE
45.PP
46\fB\-\-version \fR
47.RS 4
48Show the version number\&.
49.RE
50.PP
51\fB\-\-mod\-filename=<expr> [default: none]\fR
52.RS 4
53Specifies 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\&.
54.RE
55.PP
56\fB\-\-mod\-funcname=<expr> [default: none]\fR
57.RS 4
58Like
59\fB\-\-mod\-filename\fR, but for filenames\&. Useful for removing minor differences in randomized names of auto\-generated functions generated by some compilers\&.
60.RE
61.SH "SEE ALSO"
62.PP
63cg_annotate(1), valgrind(1),
64$INSTALL/share/doc/valgrind/html/index\&.html
65or
66http://www\&.valgrind\&.org/docs/manual/index\&.html\&.
67.SH "AUTHOR"
68.PP
69Nicholas Nethercote\&.