6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.69.0">
7
7
<link rel="start" href="index.html" title="Valgrind Documentation">
8
8
<link rel="up" href="index.html" title="Valgrind Documentation">
9
<link rel="prev" href="bk03ar01.html" title="Valgrind Frequently Asked Questions">
9
<link rel="prev" href="faq.html" title="Valgrind Frequently Asked Questions">
10
10
<link rel="next" href="mc-tech-docs.html" title="1.�The Design and Implementation of Valgrind">
12
12
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13
13
<div><table class="nav" width="100%" cellspacing="3" cellpadding="3" border="0" summary="Navigation header"><tr>
14
<td width="22px" align="center" valign="middle"><a accesskey="p" href="bk03ar01.html"><img src="images/prev.png" width="18" height="21" border="0" alt="Prev"></a></td>
14
<td width="22px" align="center" valign="middle"><a accesskey="p" href="faq.html"><img src="images/prev.png" width="18" height="21" border="0" alt="Prev"></a></td>
15
15
<td width="25px" align="center" valign="middle"><a accesskey="u" href="index.html"><img src="images/up.png" width="21" height="18" border="0" alt="Up"></a></td>
16
16
<td width="31px" align="center" valign="middle"><a accesskey="h" href="index.html"><img src="images/home.png" width="27" height="20" border="0" alt="Up"></a></td>
17
17
<th align="center" valign="middle">Valgrind Documentation</th>
90
89
<dt><span class="sect1"><a href="cg-tech-docs.html#cg-tech-docs.annotate">2.9. Annotation</a></span></dt>
91
90
<dt><span class="sect1"><a href="cg-tech-docs.html#cg-tech-docs.extensions">2.10. Similar work, extensions</a></span></dt>
93
<dt><span class="chapter"><a href="writing-tools.html">3. Writing a New Valgrind Tool</a></span></dt>
95
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.intro">3.1. Introduction</a></span></dt>
97
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.supexec">3.1.1. Supervised Execution</a></span></dt>
98
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.tools">3.1.2. Tools</a></span></dt>
99
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.execspaces">3.1.3. Execution Spaces</a></span></dt>
101
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.writingatool">3.2. Writing a Tool</a></span></dt>
103
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.whywriteatool">3.2.1. Why write a tool?</a></span></dt>
104
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.suggestedtools">3.2.2. Suggested tools</a></span></dt>
105
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.howtoolswork">3.2.3. How tools work</a></span></dt>
106
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.gettingcode">3.2.4. Getting the code</a></span></dt>
107
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.gettingstarted">3.2.5. Getting started</a></span></dt>
108
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.writingcode">3.2.6. Writing the code</a></span></dt>
109
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.init">3.2.7. Initialisation</a></span></dt>
110
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.instr">3.2.8. Instrumentation</a></span></dt>
111
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.fini">3.2.9. Finalisation</a></span></dt>
112
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.otherinfo">3.2.10. Other Important Information</a></span></dt>
113
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.advice">3.2.11. Words of Advice</a></span></dt>
115
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.advtopics">3.3. Advanced Topics</a></span></dt>
117
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.suppressions">3.3.1. Suppressions</a></span></dt>
118
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.docs">3.3.2. Documentation</a></span></dt>
119
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.regtests">3.3.3. Regression Tests</a></span></dt>
120
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.profiling">3.3.4. Profiling</a></span></dt>
121
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.mkhackery">3.3.5. Other Makefile Hackery</a></span></dt>
122
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.ifacever">3.3.6. Core/tool Interface Versions</a></span></dt>
124
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.finalwords">3.4. Final Words</a></span></dt>
92
<dt><span class="chapter"><a href="cl-format.html">3. Callgrind Format Specification</a></span></dt>
94
<dt><span class="sect1"><a href="cl-format.html#cl-format.overview">3.1. Overview</a></span></dt>
96
<dt><span class="sect2"><a href="cl-format.html#cl-format.overview.basics">3.1.1. Basic Structure</a></span></dt>
97
<dt><span class="sect2"><a href="cl-format.html#cl-format.overview.example1">3.1.2. Simple Example</a></span></dt>
98
<dt><span class="sect2"><a href="cl-format.html#cl-format.overview.associations">3.1.3. Associations</a></span></dt>
99
<dt><span class="sect2"><a href="cl-format.html#cl-format.overview.example2">3.1.4. Extended Example</a></span></dt>
100
<dt><span class="sect2"><a href="cl-format.html#cl-format.overview.compression1">3.1.5. Name Compression</a></span></dt>
101
<dt><span class="sect2"><a href="cl-format.html#cl-format.overview.compression2">3.1.6. Subposition Compression</a></span></dt>
102
<dt><span class="sect2"><a href="cl-format.html#cl-format.overview.misc">3.1.7. Miscellaneous</a></span></dt>
104
<dt><span class="sect1"><a href="cl-format.html#cl-format.reference">3.2. Reference</a></span></dt>
106
<dt><span class="sect2"><a href="cl-format.html#cl-format.reference.grammar">3.2.1. Grammar</a></span></dt>
107
<dt><span class="sect2"><a href="cl-format.html#cl-format.reference.header">3.2.2. Description of Header Lines</a></span></dt>
108
<dt><span class="sect2"><a href="cl-format.html#cl-format.reference.body">3.2.3. Description of Body Lines</a></span></dt>
111
<dt><span class="chapter"><a href="writing-tools.html">4. Writing a New Valgrind Tool</a></span></dt>
113
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.intro">4.1. Introduction</a></span></dt>
115
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.supexec">4.1.1. Supervised Execution</a></span></dt>
116
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.tools">4.1.2. Tools</a></span></dt>
117
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.execspaces">4.1.3. Execution Spaces</a></span></dt>
119
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.writingatool">4.2. Writing a Tool</a></span></dt>
121
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.whywriteatool">4.2.1. Why write a tool?</a></span></dt>
122
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.suggestedtools">4.2.2. Suggested tools</a></span></dt>
123
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.howtoolswork">4.2.3. How tools work</a></span></dt>
124
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.gettingcode">4.2.4. Getting the code</a></span></dt>
125
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.gettingstarted">4.2.5. Getting started</a></span></dt>
126
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.writingcode">4.2.6. Writing the code</a></span></dt>
127
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.init">4.2.7. Initialisation</a></span></dt>
128
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.instr">4.2.8. Instrumentation</a></span></dt>
129
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.fini">4.2.9. Finalisation</a></span></dt>
130
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.otherinfo">4.2.10. Other Important Information</a></span></dt>
131
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.advice">4.2.11. Words of Advice</a></span></dt>
133
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.advtopics">4.3. Advanced Topics</a></span></dt>
135
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.suppressions">4.3.1. Suppressions</a></span></dt>
136
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.docs">4.3.2. Documentation</a></span></dt>
137
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.regtests">4.3.3. Regression Tests</a></span></dt>
138
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.profiling">4.3.4. Profiling</a></span></dt>
139
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.mkhackery">4.3.5. Other Makefile Hackery</a></span></dt>
140
<dt><span class="sect2"><a href="writing-tools.html#writing-tools.ifacever">4.3.6. Core/tool Interface Versions</a></span></dt>
142
<dt><span class="sect1"><a href="writing-tools.html#writing-tools.finalwords">4.4. Final Words</a></span></dt>