Bug 439685 compiler warning in callgrind/main.c
[valgrind.git] / docs / xml / valgrind-manpage.xml
blob5c16c6eb35da00e2a72662038fe544284580c55c
1 <?xml version="1.0"?> <!-- -*- sgml -*- -->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3           "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
4 [ <!ENTITY % vg-entities SYSTEM "vg-entities.xml"> %vg-entities; ]>
7 <refentry id="valgrind">
9 <refmeta>
10   <refentrytitle>VALGRIND</refentrytitle>
11   <manvolnum>1</manvolnum>
12   <refmiscinfo class="source">Release &rel-version;</refmiscinfo>
13 </refmeta>
15 <refnamediv>
16   <refname>valgrind</refname>
17   <refpurpose>a suite of tools for debugging and profiling programs</refpurpose>
18 </refnamediv>
20 <refsynopsisdiv>
21 <cmdsynopsis>
22   <command>valgrind</command>
23   <arg><replaceable>valgrind-options</replaceable></arg>
24   <arg><replaceable>your-program</replaceable></arg>
25   <arg><replaceable>your-program-options</replaceable></arg>
26 </cmdsynopsis>
27 </refsynopsisdiv>
30 <refsect1 id="description">
31 <title>Description</title>
33 <para><command>Valgrind</command> is a flexible program for debugging
34 and profiling Linux executables.  It consists of a core, which provides
35 a synthetic CPU in software, and a series of debugging and profiling tools.
36 The architecture is modular, so that new tools can be created easily and
37 without disturbing the existing structure.</para>
39 <para>Some of the options described below work with all Valgrind tools, and
40 some only work with a few or one.  The section MEMCHECK OPTIONS and those
41 below it describe tool-specific options.</para>
43 <para>This manual page covers only basic usage and options.  For more
44 comprehensive information, please see the HTML documentation on your
45 system: <filename>&vg-docs-path;</filename>, or online:
46 <filename>&vg-docs-url;</filename>.</para>
48 </refsect1>
52 <refsect1 id="tool-selection-options">
53 <title>Tool Selection Options</title>
55 <xi:include href="manual-core.xml" xpointer="tool.opts.para"
56             xmlns:xi="http://www.w3.org/2001/XInclude" />
58 <xi:include href="manual-core.xml" xpointer="tool.opts.list"
59             xmlns:xi="http://www.w3.org/2001/XInclude" />
61 </refsect1>
65 <refsect1 id="basic-options">
66 <title>Basic Options</title>
68 <xi:include href="manual-core.xml" xpointer="basic.opts.para"
69             xmlns:xi="http://www.w3.org/2001/XInclude" />
71 <xi:include href="manual-core.xml" xpointer="basic.opts.list"
72             xmlns:xi="http://www.w3.org/2001/XInclude" />
74 </refsect1>
78 <refsect1 id="error-related-options">
79 <title>Error-Related Options</title>
81 <xi:include href="manual-core.xml" xpointer="error-related.opts.para"
82             xmlns:xi="http://www.w3.org/2001/XInclude" />
84 <xi:include href="manual-core.xml" xpointer="error-related.opts.list"
85             xmlns:xi="http://www.w3.org/2001/XInclude" />
87 </refsect1>
91 <refsect1 id="malloc-related-options">
92 <title>malloc()-related Options</title>
94 <xi:include href="manual-core.xml" xpointer="malloc-related.opts.para"
95             xmlns:xi="http://www.w3.org/2001/XInclude" />
97 <xi:include href="manual-core.xml" xpointer="malloc-related.opts.list"
98             xmlns:xi="http://www.w3.org/2001/XInclude" />
100 </refsect1>
104 <refsect1 id="uncommon-options">
105 <title>Uncommon Options</title>
108 <xi:include href="manual-core.xml" xpointer="uncommon.opts.para"
109             xmlns:xi="http://www.w3.org/2001/XInclude" />
111 <xi:include href="manual-core.xml" xpointer="uncommon.opts.list"
112             xmlns:xi="http://www.w3.org/2001/XInclude" />
114 </refsect1>
118 <refsect1 id="debugging-valgrind-options">
119 <title>Debugging Valgrind Options</title>
121 <xi:include href="manual-core.xml" xpointer="debug.opts.para"
122             xmlns:xi="http://www.w3.org/2001/XInclude" />
124 </refsect1>
128 <refsect1 id="memcheck-options">
129 <title>Memcheck Options</title>
131 <xi:include href="../../memcheck/docs/mc-manual.xml" 
132             xpointer="mc.opts.list"
133             xmlns:xi="http://www.w3.org/2001/XInclude" />
135 </refsect1>
139 <refsect1 id="cachegrind-options">
140 <title>Cachegrind Options</title>
142 <xi:include href="../../cachegrind/docs/cg-manual.xml" 
143             xpointer="cg.opts.list"
144             xmlns:xi="http://www.w3.org/2001/XInclude" />
146 </refsect1>
150 <refsect1 id="callgrind-options">
151 <title>Callgrind Options</title>
153 <xi:include href="../../callgrind/docs/cl-manual.xml" 
154             xpointer="cl.opts.list.creation"
155             xmlns:xi="http://www.w3.org/2001/XInclude" />
156 <xi:include href="../../callgrind/docs/cl-manual.xml" 
157             xpointer="cl.opts.list.activity"
158             xmlns:xi="http://www.w3.org/2001/XInclude" />
159 <xi:include href="../../callgrind/docs/cl-manual.xml" 
160             xpointer="cl.opts.list.collection"
161             xmlns:xi="http://www.w3.org/2001/XInclude" />
162 <xi:include href="../../callgrind/docs/cl-manual.xml" 
163             xpointer="cl.opts.list.simulation"
164             xmlns:xi="http://www.w3.org/2001/XInclude" />
165 </refsect1>
169 <refsect1 id="helgrind-options">
170 <title>Helgrind Options</title>
172 <xi:include href="../../helgrind/docs/hg-manual.xml" 
173             xpointer="hg.opts.list"
174             xmlns:xi="http://www.w3.org/2001/XInclude" />
176 </refsect1>
180 <refsect1 id="drd-options">
181 <title>DRD Options</title>
183 <xi:include href="../../drd/docs/drd-manual.xml" 
184             xpointer="drd.opts.list"
185             xmlns:xi="http://www.w3.org/2001/XInclude" />
186 <xi:include href="../../drd/docs/drd-manual.xml" 
187             xpointer="drd.debugopts.list"
188             xmlns:xi="http://www.w3.org/2001/XInclude" />
190 </refsect1>
194 <refsect1 id="massif-options">
195 <title>Massif Options</title>
197 <xi:include href="../../massif/docs/ms-manual.xml" 
198             xpointer="ms.opts.list"
199             xmlns:xi="http://www.w3.org/2001/XInclude" />
201 </refsect1>
205 <refsect1 id="bbv-options">
206 <title>BBV Options</title>
208 <xi:include href="../../exp-bbv/docs/bbv-manual.xml" 
209             xpointer="bbv.opts.list"
210             xmlns:xi="http://www.w3.org/2001/XInclude" />
212 </refsect1>
215 <refsect1 id="lackey-options">
216 <title>Lackey Options</title>
218 <xi:include href="../../lackey/docs/lk-manual.xml" 
219             xpointer="lk.opts.list"
220             xmlns:xi="http://www.w3.org/2001/XInclude" />
222 </refsect1>
224 <refsect1 id="debuginfod">
225 <title>Debuginfod</title>
227 <xi:include href="manual-core.xml"
228             xpointer="debuginfod.para.1"
229             xmlns:xi="http://www.w3.org/2001/XInclude" />
230 <xi:include href="manual-core.xml"
231             xpointer="debuginfod.para.2"
232             xmlns:xi="http://www.w3.org/2001/XInclude" />
233 <xi:include href="manual-core.xml"
234             xpointer="debuginfod.para.3"
235             xmlns:xi="http://www.w3.org/2001/XInclude" />
236 </refsect1>
238 <refsect1 id="see_also">
239 <title>See Also</title>
241 <para>
242 cg_annotate(1),
243 callgrind_annotate(1),
244 callgrind_control(1),
245 ms_print(1),
246 <filename>&vg-docs-path;</filename> or
247 <filename>&vg-docs-url;</filename>,
248 <ulink id="&vg-gdbserver-id;"
249        xreflabel="&vg-gdbserver-label;"
250        url="&vg-gdbserver-url;">&vg-gdbserver-label;</ulink>
251 <ulink id="&vg-vgdb-id;"
252        xreflabel="&vg-vgdb-label;"
253        url="&vg-vgdb-url;">&vg-vgdb-label;</ulink>,
254 <ulink id="&vg-monitor-id;"
255        xreflabel="&vg-monitor-label;"
256        url="&vg-monitor-url;">&vg-monitor-label;</ulink>,
257 <ulink id="&vg-comment-id;"
258        xreflabel="&vg-comment-label;"
259        url="&vg-comment-url;">&vg-comment-label;</ulink>,
260 <ulink id="&vg-pthreads-perf-sched-id;"
261        xreflabel="&vg-pthreads-perf-sched-label;"
262        url="&vg-pthreads-perf-sched-url;">&vg-pthreads-perf-sched-label;</ulink>,
263 <ulink id="&vg-cg-manual-id;"
264        xreflabel="&vg-cg-manual-label;"
265        url="&vg-cg-manual-url;">&vg-cg-manual-label;</ulink>.
266 <ulink id="&vg-xtree-id;"
267        xreflabel="&vg-xtree-label;"
268        url="&vg-xtree-url;">&vg-xtree-label;</ulink>
269 </para>
271 </refsect1>
274 <refsect1 id="author">
275 <title>Author</title>
277 <para>See the AUTHORS file in the valgrind distribution for a
278 comprehensive list of authors.</para>
279 <para>This manpage was written by Andres Roldan &lt;aroldan@debian.org&gt;
280 and the Valgrind developers.</para>
282 </refsect1>
285 </refentry>