include $(top_srcdir)/Makefile.tool.am
-EXTRA_DIST = docs/cg-manual.xml
+EXTRA_DIST = \
+ docs/cg-manual.xml \
+ docs/cg_annotate-manpage.xml
#----------------------------------------------------------------------------
# Headers, etc
<sect1 id="cg-manual.annopts" xreflabel="cg_annotate Options">
<title>cg_annotate Options</title>
-<variablelist>
+<!-- start of xi:include in the manpage -->
+<variablelist id="cg_annotate.opts.list">
<varlistentry>
<term>
</varlistentry>
</variablelist>
+<!-- end of xi:include in the manpage -->
</sect1>
--- /dev/null
+<?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 "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
+
+
+<refentry id="cg_annotate">
+
+<refmeta>
+ <refentrytitle>cg_annotate</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo>Release &rel-version;</refmiscinfo>
+</refmeta>
+
+<refnamediv>
+ <refname>cg_annotate</refname>
+ <refpurpose>post-processing tool for Cachegrind</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<cmdsynopsis>
+ <command>cg_annotate</command>
+ <arg><replaceable>options</replaceable></arg>
+ <arg>filename</arg>
+</cmdsynopsis>
+</refsynopsisdiv>
+
+
+<refsect1 id="description">
+<title>Description</title>
+
+<para><command>cg_annotate</command> takes an output file produced by the
+Valgrind tool Cachegrind and prints the information in an easy-to-read form.
+</para>
+
+</refsect1>
+
+
+
+<refsect1 id="options">
+<title>Options</title>
+
+<xi:include href="cg-manual.xml" xpointer="cg_annotate.opts.list"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</refsect1>
+
+
+
+
+<refsect1 id="see_also">
+<title>See Also</title>
+
+<para>
+valgrind(1),
+<filename>&vg-docs-path;</filename> or
+<filename>&vg-docs-url;</filename>.
+</para>
+
+</refsect1>
+
+
+<refsect1 id="author">
+<title>Author</title>
+
+<para>Nicholas Nethercote.</para>
+
+</refsect1>
+
+
+</refentry>
+
+
<refnamediv id="a-name">
<refname>callgrind_annotate</refname>
- <refpurpose>post-processing tool for the Valgrind tool Callgrind</refpurpose>
+ <refpurpose>post-processing tool for the Callgrind</refpurpose>
</refnamediv>
<refsynopsisdiv id="a-synopsis">
<refnamediv id="c-name">
<refname>callgrind_control</refname>
- <refpurpose>observe and control programs being run by the Valgrind tool
- Callgrind</refpurpose>
+ <refpurpose>observe and control programs being run by Callgrind</refpurpose>
</refnamediv>
<refsynopsisdiv id="c-synopsis">
<refsect1 id="c-options">
<title>Options</title>
+<xi:include href="cl-manual.xml" xpointer="callgrind_control.opts.list"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
</refsect1>
/usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl \
/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
-all-docs: FAQ.txt man-page html-docs print-docs
+all-docs: FAQ.txt man-pages html-docs print-docs
valid:
$(XMLLINT) $(XMLLINT_FLAGS) $(myxmldir)/index.xml
$(XSLTPROC) $(XSLTPROC_FLAGS) -o ./FAQ.txt $(XSL_TEXT_STYLE) $(myxmldir)/FAQ.xml
# the valgrind manpages
-man-page:
+man-pages:
for x in $(XSL_MAN_STYLES) ; do \
if test -f $$x; then \
echo "Using manpage stylesheet: $$x"; \
# docs and man page and copies them into the docs/ directory in the
# tarball.
ifeq ($(BUILD_ALL_DOCS),yes)
-dist-hook: FAQ.txt html-docs print-docs man-page
+dist-hook: FAQ.txt html-docs print-docs man-pages
cp -r html $(distdir)
cp FAQ.txt $(distdir)/..
cp valgrind.1 $(distdir)
cp print/index.pdf $(distdir)
cp print/index.ps $(distdir)
else
-dist-hook: FAQ.txt html-docs man-page
+dist-hook: FAQ.txt html-docs man-pages
cp FAQ.txt $(distdir)/..
cp -r html $(distdir)
endif
<xi:include href="valgrind-manpage.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
+<!-- cg_annotate -->
+<xi:include href="../../cachegrind/docs/cg_annotate-manpage.xml" parse="xml"
+ xmlns:xi="http://www.w3.org/2001/XInclude" />
+
<!-- callgrind_annotate -->
<xi:include href="../../callgrind/docs/callgrind_annotate-manpage.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<title>See Also</title>
<para>
+cg_annotate(1),
callgrind_annotate(1),
callgrind_control(1),
ms_print(1),
<refnamediv>
<refname>ms_print</refname>
- <refpurpose>post-processing tool for the Valgrind tool Massif</refpurpose>
+ <refpurpose>post-processing tool for Massif</refpurpose>
</refnamediv>
<refsynopsisdiv>