File: valgrind-manpage.xml

package info (click to toggle)
valgrind 1%3A3.12.0~svn20160714-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 120,428 kB
  • ctags: 70,855
  • sloc: ansic: 674,645; exp: 26,134; xml: 21,574; asm: 7,570; cpp: 7,567; makefile: 7,380; sh: 6,188; perl: 5,855; haskell: 195
file content (279 lines) | stat: -rw-r--r-- 7,554 bytes parent folder | download | duplicates (2)
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<?xml version="1.0"?> <!-- -*- sgml -*- -->
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
          "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[ <!ENTITY % vg-entities SYSTEM "vg-entities.xml"> %vg-entities; ]>


<refentry id="valgrind">

<refmeta>
  <refentrytitle>VALGRIND</refentrytitle>
  <manvolnum>1</manvolnum>
  <refmiscinfo>Release &rel-version;</refmiscinfo>
</refmeta>

<refnamediv>
  <refname>valgrind</refname>
  <refpurpose>a suite of tools for debugging and profiling programs</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
  <command>valgrind</command>
  <arg><replaceable>valgrind-options</replaceable></arg>
  <arg><command>your-program</command></arg>
  <arg><replaceable>your-program-options</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>


<refsect1 id="description">
<title>Description</title>

<para><command>Valgrind</command> is a flexible program for debugging
and profiling Linux executables.  It consists of a core, which provides
a synthetic CPU in software, and a series of debugging and profiling tools.
The architecture is modular, so that new tools can be created easily and
without disturbing the existing structure.</para>

<para>Some of the options described below work with all Valgrind tools, and
some only work with a few or one.  The section MEMCHECK OPTIONS and those
below it describe tool-specific options.</para>

<para>This manual page covers only basic usage and options.  For more
comprehensive information, please see the HTML documentation on your
system: <filename>&vg-docs-path;</filename>, or online:
<filename>&vg-docs-url;</filename>.</para>

</refsect1>



<refsect1 id="tool-selection-options">
<title>Tool Selection Options</title>

<xi:include href="manual-core.xml" xpointer="tool.opts.para"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

<xi:include href="manual-core.xml" xpointer="tool.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="basic-options">
<title>Basic Options</title>

<xi:include href="manual-core.xml" xpointer="basic.opts.para"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

<xi:include href="manual-core.xml" xpointer="basic.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="error-related-options">
<title>Error-Related Options</title>

<xi:include href="manual-core.xml" xpointer="error-related.opts.para"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

<xi:include href="manual-core.xml" xpointer="error-related.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="malloc-related-options">
<title>malloc()-related Options</title>

<xi:include href="manual-core.xml" xpointer="malloc-related.opts.para"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

<xi:include href="manual-core.xml" xpointer="malloc-related.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="uncommon-options">
<title>Uncommon Options</title>


<xi:include href="manual-core.xml" xpointer="uncommon.opts.para"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

<xi:include href="manual-core.xml" xpointer="uncommon.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="debugging-valgrind-options">
<title>Debugging Valgrind Options</title>

<xi:include href="manual-core.xml" xpointer="debug.opts.para"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="memcheck-options">
<title>Memcheck Options</title>

<xi:include href="../../memcheck/docs/mc-manual.xml" 
            xpointer="mc.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="cachegrind-options">
<title>Cachegrind Options</title>

<xi:include href="../../cachegrind/docs/cg-manual.xml" 
            xpointer="cg.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="callgrind-options">
<title>Callgrind Options</title>

<xi:include href="../../callgrind/docs/cl-manual.xml" 
            xpointer="cl.opts.list.creation"
            xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="../../callgrind/docs/cl-manual.xml" 
            xpointer="cl.opts.list.activity"
            xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="../../callgrind/docs/cl-manual.xml" 
            xpointer="cl.opts.list.collection"
            xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="../../callgrind/docs/cl-manual.xml" 
            xpointer="cl.opts.list.simulation"
            xmlns:xi="http://www.w3.org/2001/XInclude" />
</refsect1>



<refsect1 id="helgrind-options">
<title>Helgrind Options</title>

<xi:include href="../../helgrind/docs/hg-manual.xml" 
            xpointer="hg.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="drd-options">
<title>DRD Options</title>

<xi:include href="../../drd/docs/drd-manual.xml" 
            xpointer="drd.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="../../drd/docs/drd-manual.xml" 
            xpointer="drd.debugopts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="massif-options">
<title>Massif Options</title>

<xi:include href="../../massif/docs/ms-manual.xml" 
            xpointer="ms.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>



<refsect1 id="sgcheck-options">
<title>SGcheck Options</title>

<xi:include href="../../exp-sgcheck/docs/sg-manual.xml" 
            xpointer="sg.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>

<refsect1 id="bbv-options">
<title>BBV Options</title>

<xi:include href="../../exp-bbv/docs/bbv-manual.xml" 
            xpointer="bbv.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>


<refsect1 id="lackey-options">
<title>Lackey Options</title>

<xi:include href="../../lackey/docs/lk-manual.xml" 
            xpointer="lk.opts.list"
            xmlns:xi="http://www.w3.org/2001/XInclude" />

</refsect1>


<refsect1 id="see_also">
<title>See Also</title>

<para>
cg_annotate(1),
callgrind_annotate(1),
callgrind_control(1),
ms_print(1),
<filename>&vg-docs-path;</filename> or
<filename>&vg-docs-url;</filename>,
<ulink id="&vg-gdbserver-id;"
       xreflabel="&vg-gdbserver-label;"
       url="&vg-gdbserver-url;">&vg-gdbserver-label;</ulink>
<ulink id="&vg-vgdb-id;"
       xreflabel="&vg-vgdb-label;"
       url="&vg-vgdb-url;">&vg-vgdb-label;</ulink>,
<ulink id="&vg-monitor-id;"
       xreflabel="&vg-monitor-label;"
       url="&vg-monitor-url;">&vg-monitor-label;</ulink>,
<ulink id="&vg-comment-id;"
       xreflabel="&vg-comment-label;"
       url="&vg-comment-url;">&vg-comment-label;</ulink>,
<ulink id="&vg-pthreads-perf-sched-id;"
       xreflabel="&vg-pthreads-perf-sched-label;"
       url="&vg-pthreads-perf-sched-url;">&vg-pthreads-perf-sched-label;</ulink>,
<ulink id="&vg-cg-manual-id;"
       xreflabel="&vg-cg-manual-label;"
       url="&vg-cg-manual-url;">&vg-cg-manual-label;</ulink>.
</para>

</refsect1>


<refsect1 id="author">
<title>Author</title>

<para>See the AUTHORS file in the valgrind distribution for a
comprehensive list of authors.</para>
<para>This manpage was written by Andres Roldan &lt;aroldan@debian.org&gt;
and the Valgrind developers.</para>

</refsect1>


</refentry>