From: Nicholas Nethercote Date: Fri, 7 Aug 2009 07:56:20 +0000 (+0000) Subject: Add a manpage for cg_annotate. Now only valgrind-listener and cg_merge lack X-Git-Tag: svn/VALGRIND_3_5_0~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fcbcab5198bc561b9e28c297da96382c58b1538;p=thirdparty%2Fvalgrind.git Add a manpage for cg_annotate. Now only valgrind-listener and cg_merge lack a manpage, and they're so simple I can't be bothered doing ones for them (they don't even have sections in the manual). Also fixed a few minor things relating to manpages. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10744 --- diff --git a/cachegrind/Makefile.am b/cachegrind/Makefile.am index fa257f0485..94df249e60 100644 --- a/cachegrind/Makefile.am +++ b/cachegrind/Makefile.am @@ -1,6 +1,8 @@ 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 diff --git a/cachegrind/docs/cg-manual.xml b/cachegrind/docs/cg-manual.xml index 7eedb134c9..88db94e75a 100644 --- a/cachegrind/docs/cg-manual.xml +++ b/cachegrind/docs/cg-manual.xml @@ -793,7 +793,8 @@ fail these checks. cg_annotate Options - + + @@ -896,6 +897,7 @@ fail these checks. + diff --git a/cachegrind/docs/cg_annotate-manpage.xml b/cachegrind/docs/cg_annotate-manpage.xml new file mode 100644 index 0000000000..a8178897c4 --- /dev/null +++ b/cachegrind/docs/cg_annotate-manpage.xml @@ -0,0 +1,73 @@ + + %vg-entities; ]> + + + + + + cg_annotate + 1 + Release &rel-version; + + + + cg_annotate + post-processing tool for Cachegrind + + + + + cg_annotate + options + filename + + + + + +Description + +cg_annotate takes an output file produced by the +Valgrind tool Cachegrind and prints the information in an easy-to-read form. + + + + + + + +Options + + + + + + + + + +See Also + + +valgrind(1), +&vg-docs-path; or +&vg-docs-url;. + + + + + + +Author + +Nicholas Nethercote. + + + + + + + diff --git a/callgrind/docs/callgrind_annotate-manpage.xml b/callgrind/docs/callgrind_annotate-manpage.xml index 42323168d5..a1d8aa8dec 100644 --- a/callgrind/docs/callgrind_annotate-manpage.xml +++ b/callgrind/docs/callgrind_annotate-manpage.xml @@ -14,7 +14,7 @@ callgrind_annotate - post-processing tool for the Valgrind tool Callgrind + post-processing tool for the Callgrind diff --git a/callgrind/docs/callgrind_control-manpage.xml b/callgrind/docs/callgrind_control-manpage.xml index 2b5a2bd750..dd71af0afb 100644 --- a/callgrind/docs/callgrind_control-manpage.xml +++ b/callgrind/docs/callgrind_control-manpage.xml @@ -13,8 +13,7 @@ callgrind_control - observe and control programs being run by the Valgrind tool - Callgrind + observe and control programs being run by Callgrind @@ -43,6 +42,8 @@ being run by Callgrind. Options + diff --git a/docs/Makefile.am b/docs/Makefile.am index 9cf464e0f0..f0151fd5be 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -111,7 +111,7 @@ XSL_MAN_STYLES = \ /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 @@ -123,7 +123,7 @@ FAQ.txt: $(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"; \ @@ -198,14 +198,14 @@ install-data-hook: # 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 diff --git a/docs/xml/manpages-index.xml b/docs/xml/manpages-index.xml index 889bb8fa62..b02fc9ca30 100644 --- a/docs/xml/manpages-index.xml +++ b/docs/xml/manpages-index.xml @@ -11,6 +11,10 @@ + + + diff --git a/docs/xml/valgrind-manpage.xml b/docs/xml/valgrind-manpage.xml index 1bd5681856..04918e291c 100644 --- a/docs/xml/valgrind-manpage.xml +++ b/docs/xml/valgrind-manpage.xml @@ -222,6 +222,7 @@ system: &vg-docs-path;, or online: See Also +cg_annotate(1), callgrind_annotate(1), callgrind_control(1), ms_print(1), diff --git a/massif/docs/ms_print-manpage.xml b/massif/docs/ms_print-manpage.xml index efec8fded8..835d49bcfb 100644 --- a/massif/docs/ms_print-manpage.xml +++ b/massif/docs/ms_print-manpage.xml @@ -14,7 +14,7 @@ ms_print - post-processing tool for the Valgrind tool Massif + post-processing tool for Massif