because this can significantly reduce the size of DHAT's output files.</para>
-<sect2><title>The Output Header</title>
+<sect2 id="dh-output-header"><title>The Output Header</title>
<para>The first part of the output shows the program command and process ID.
For example:</para>
</sect2>
-<sect2><title>The AP Tree</title>
+<sect2 id="dh-ap-tree"><title>The AP Tree</title>
<para>The third part of the output is the largest and most interesting part,
showing the allocation point (AP) tree.</para>
-<sect3><title>Structure</title>
+<sect3 id="dh-structure"><title>Structure</title>
<para>The following image shows a screenshot of part of an AP
tree. The font is very small because this screenshot is intended to
</sect3>
-<sect3><title>The Root Node</title>
+<sect3 id="dh-root-node"><title>The Root Node</title>
<para>The root node looks like this:</para>
</sect3>
-<sect3><title>Interior Nodes</title>
+<sect3 id="dh-interior-nodes"><title>Interior Nodes</title>
<para>AP nodes further down the tree show information about a subset of
allocations. For example:</para>
</sect3>
-<sect3><title>Leaf Nodes</title>
+<sect3 id="dh-leaf-nodes"><title>Leaf Nodes</title>
<para>This is a leaf node:</para>
</sect3>
-<sect3><title>Access Counts</title>
+<sect3 id="dh-access-counts"><title>Access Counts</title>
<para>If all blocks covered by an AP node have the same size, an additional
<computeroutput>Accesses</computeroutput> field will be present. It indicates
</sect3>
-<sect3><title>Aggregate Nodes</title>
+<sect3 id="aggregate-nodes"><title>Aggregate Nodes</title>
<para>The AP tree is very large and many nodes represent tiny numbers of blocks
and bytes. Therefore, DHAT's viewer aggregates insignificant nodes like
</sect2>
-<sect2><title>The Output Footer</title>
+<sect2 id="dh-output-footer"><title>The Output Footer</title>
<para>Below the AP tree is a line like this:</para>
</sect2>
-<sect2><title>Sort Metrics</title>
+<sect2 id="dh-sort-metrics"><title>Sort Metrics</title>
<para>The order in which sub-trees are sorted can be changed via the "Sort
metric" drop-down menu at the top of DHAT's viewer. Different sort metrics can
<year>&vg-lifespan;</year>
<holder><ulink url="&vg-devs-url;">Valgrind Developers</ulink></holder>
</copyright>
- <legalnotice>
+ <legalnotice id="faq-legal">
<para>Email: <ulink url="mailto:&vg-vemail;">&vg-vemail;</ulink></para>
</legalnotice>
</bookinfo>
</qandaentry>
<qandaentry id="faq.glibc_devel">
- <question>
+ <question id="q-glibc_devel">
<para>When building Valgrind, 'make' fails with this:</para>
<screen>
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
</screen>
</question>
- <answer>
+ <answer id="a-glibc_devel">
<para>You need to install the glibc-static-devel package.</para>
</answer>
</qandaentry>
online copy of the manual. -->
<qandaentry id="e-help">
- <question><para>Where can I get more help?</para></question>
+ <question id="q-help"><para>Where can I get more help?</para></question>
<answer id="a-help">
<para>Read the appropriate section(s) of the
<ulink url="&vg-docs-url;">Valgrind Documentation</ulink>.</para>