Ignore:
Timestamp:
01/27/2016 11:21:15 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/valgrind.xml

    ra7e1ac8 r2037ec4  
    88  <!ENTITY valgrind-download-ftp  " ">
    99  <!ENTITY valgrind-md5sum        "4ea62074da73ae82e0162d6550d3f129">
    10   <!ENTITY valgrind-size          "11.4 MB">
    11   <!ENTITY valgrind-buildsize     "572 MB (with the test suite)">
    12   <!ENTITY valgrind-time          "4.3 SBU (with the test suite)">
     10  <!ENTITY valgrind-size          "10.5 MB">
     11  <!ENTITY valgrind-buildsize     "343 MB (additional 228 MB for tests)">
     12  <!ENTITY valgrind-time          "1.2 SBU (additional 5.1 SBU for tests)">
    1313]>
    1414
     
    3535      automatically detect many memory management and threading bugs, and
    3636      profile programs in detail. Valgrind can also be used to build new
    37       tools. 
     37      tools.
    3838    </para>
    3939
     
    7979    <para role="optional">
    8080      <xref linkend="boost"/>,
    81       <xref linkend="llvm"/> (with Clang), 
     81      <xref linkend="llvm"/> (with Clang),
    8282      <xref linkend="gdb"/> (for tests), and
    83       <ulink url="http://www.open-mpi.org/">OpenMPI</ulink>
     83      <ulink url="http://www.openmp.org">OpenMP</ulink>
    8484    </para>
    8585
    8686    <bridgehead renderas="sect4">Optional for regenerating the documentation</bridgehead>
    8787    <para role="optional">
    88       <xref linkend="libxslt"/> and 
     88      <xref linkend="libxslt"/> and
    8989      <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
    9090    </para>
     
    9898    <title>Installation of Valgrind</title>
    9999
    100     <para>Install <application>Valgrind</application> by running the following
    101     commands:</para>
    102 
    103 <screen><userinput>sed -i "s:/doc/valgrind::g" docs/Makefile.in &amp;&amp;
    104 ./configure --prefix=/usr --datadir=/usr/share/doc/valgrind-&valgrind-version; &amp;&amp;
     100    <para>
     101      Install <application>Valgrind</application> by running the following
     102      commands:
     103    </para>
     104
     105<screen><userinput>sed -i 's|/doc/valgrind||' docs/Makefile.in &amp;&amp;
     106
     107./configure --prefix=/usr \
     108            --datadir=/usr/share/doc/valgrind-&valgrind-version; &amp;&amp;
    105109make</userinput></screen>
    106110
    107111    <para>
    108       To test the results, issue: <command>make regtest</command>.
     112      To test the results, issue: <command>make regtest</command>. The tests
     113      may hang forever if <xref linkend="gdb"/> is not installed.
    109114    </para>
    110115<!--  Note to maintainer: Recheck when next texlive (2015) is released.
     
    143148      <seglistitem>
    144149        <seg>
    145           callgrind_annotate, 
    146           callgrind_control, 
    147           cg_annotate, 
    148           cg_diff, 
    149           cg_merge, 
    150           ms_print, 
    151           valgrind, 
     150          callgrind_annotate,
     151          callgrind_control,
     152          cg_annotate,
     153          cg_diff,
     154          cg_merge,
     155          ms_print,
     156          valgrind,
    152157          valgrind-di-server,
    153           valgrind-listener, and 
     158          valgrind-listener, and
    154159          vgdb
    155160        </seg>
     
    158163          libreplacemalloc_toolpreload-&lt;Arch&gt;-linux.a,
    159164          libvex-&lt;Arch&gt;-linux.a,
    160           libvexmultiarch-&lt;Arch&gt;-linux.a,
     165          libvexmultiarch-amd64-linux.a,
    161166          vgpreload_core-&lt;Arch&gt;-linux.so,
    162167          vgpreload_drd-&lt;Arch&gt;-linux.so,
     
    166171          vgpreload_massif-&lt;Arch&gt;-linux.so, and
    167172          vgpreload_memcheck-&lt;Arch&gt;-linux.so, where
    168           &lt;Arch&gt;=x86, amd64. Libraries are in /usr/lib/valgrind.
     173          &lt;Arch&gt; is x86 or amd64
    169174        </seg>
    170175        <seg>
    171176          /usr/lib/valgrind,
    172           /usr/include/valgrind, and 
     177          /usr/include/valgrind, and
    173178          /usr/share/doc/valgrind-&valgrind-version;
    174179        </seg>
     
    211216        <listitem>
    212217          <para>
    213             controls programs being run by the <application>Valgrind</application> 
     218            controls programs being run by the <application>Valgrind</application>
    214219            tool Callgrind.
    215220          </para>
     
    224229        <listitem>
    225230          <para>
    226             is a post-processing tool for the <application>Valgrind</application> 
     231            is a post-processing tool for the <application>Valgrind</application>
    227232            tool Cachegrind.
    228233          </para>
     
    274279        <listitem>
    275280          <para>
    276             is a server that reads debuginfo from objects stored on a 
     281            is a server that reads debuginfo from objects stored on a
    277282            different machine.
    278283          </para>
Note: See TracChangeset for help on using the changeset viewer.