Callgrind merge: documentation


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5781 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/docs/xml/valgrind-manpage.xml b/docs/xml/valgrind-manpage.xml
index e86ebb3..ffe3364 100644
--- a/docs/xml/valgrind-manpage.xml
+++ b/docs/xml/valgrind-manpage.xml
@@ -77,6 +77,14 @@
   </listitem>
 
   <listitem>
+    <para><option>callgrind</option> adds call graph tracing to cachegrind.  It can be
+    used to get call counts and inclusive cost for each call happening in your
+    program. In addition to cachegrind, callgrind can annotate threads separatly,
+    and every instruction of disassembler output of your program with the number of
+    instructions executed and cache misses incurred.</para>
+  </listitem>
+
+  <listitem>
     <para><option>helgrind</option> spots potential race conditions in
     your program.</para>
   </listitem>
@@ -198,6 +206,17 @@
 
 
 
+<refsect1 id="callgrind-options">
+<title>Callgrind Options</title>
+
+<xi:include href="../../callgrind/docs/cl-manual.xml" 
+            xpointer="cl.opts.list"
+            xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</refsect1>
+
+
+
 <refsect1 id="massif-options">
 <title>Massif Options</title>