File: callgrind_annotate.1

package info (click to toggle)
valgrind 1%3A3.7.0-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 58,060 kB
  • sloc: ansic: 396,820; xml: 18,453; cpp: 6,698; asm: 5,584; perl: 5,008; sh: 4,852; makefile: 3,965; exp: 625; haskell: 195
file content (102 lines) | stat: -rw-r--r-- 2,974 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
'\" t
.\"     Title: Callgrind Annotate
.\"    Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\"      Date: 11/05/2011
.\"    Manual: Release 3.7.0
.\"    Source: Release 3.7.0
.\"  Language: English
.\"
.TH "CALLGRIND ANNOTATE" "1" "11/05/2011" "Release 3.7.0" "Release 3.7.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"
callgrind_annotate \- post\-processing tool for the Callgrind
.SH "SYNOPSIS"
.HP \w'\fBcallgrind_annotate\fR\ 'u
\fBcallgrind_annotate\fR [\fIoptions\fR] [\fIcallgrind\-out\-file\fR\ [\fIsource\-files\fR...]]
.SH "DESCRIPTION"
.PP
\fBcallgrind_annotate\fR
takes an output file produced by the Valgrind tool Callgrind and prints the information in an easy\-to\-read form\&.
.SH "OPTIONS"
.PP
\fB\-h \-\-help\fR
.RS 4
Show summary of options\&.
.RE
.PP
\fB\-\-version\fR
.RS 4
Show version of callgrind_annotate\&.
.RE
.PP
\fB\-\-show=A,B,C [default: all]\fR
.RS 4
Only show figures for events A,B,C\&.
.RE
.PP
\fB\-\-sort=A,B,C\fR
.RS 4
Sort columns by events A,B,C [event column order]\&.
.RE
.PP
\fB\-\-threshold=<0\-\-100> [default: 99%] \fR
.RS 4
Percentage of counts (of primary sort event) we are interested in\&.
.RE
.PP
\fB\-\-auto=<yes|no> [default: no] \fR
.RS 4
Annotate all source files containing functions that helped reach the event count threshold\&.
.RE
.PP
\fB\-\-context=N [default: 8] \fR
.RS 4
Print N lines of context before and after annotated lines\&.
.RE
.PP
\fB\-\-inclusive=<yes|no> [default: no] \fR
.RS 4
Add subroutine costs to functions calls\&.
.RE
.PP
\fB\-\-tree=<none|caller|calling|both> [default: none] \fR
.RS 4
Print for each function their callers, the called functions or both\&.
.RE
.PP
\fB\-I, \-\-include=<dir> \fR
.RS 4
Add
\fBdir\fR
to the list of directories to search for source files\&.
.RE
.SH "SEE ALSO"
.PP
valgrind(1),
$INSTALL/share/doc/valgrind/html/index\&.html
or
http://www\&.valgrind\&.org/docs/manual/index\&.html\&.
.SH "AUTHOR"
.PP
Josef Weidendorfer <Josef\&.Weidendorfer@gmx\&.de>\&.
.PP
This manual page was written by Philipp Frauenfelder <pfrauenf@debian\&.org>\&.