]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Made the description of DRD_TRACE_VAR(), ANNOTATE_TRACE_MEMORY() and
authorBart Van Assche <bvanassche@acm.org>
Thu, 10 Dec 2009 17:58:46 +0000 (17:58 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 10 Dec 2009 17:58:46 +0000 (17:58 +0000)
VG_USERREQ__DRD_START_TRACE_ADDR more clear.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10965

drd/docs/drd-manual.xml

index 318a750b127c50d59e93c83981efa89b8376dbae..076e08401972b2ea13aad89df5d56e09fbdc5a3d 100644 (file)
@@ -923,14 +923,26 @@ available macros and client requests are:
   </listitem>
   <listitem>
     <para>
-      The macros <literal>DRD_TRACE_VAR(x)</literal>,
-      <literal>ANNOTATE_TRACE_MEMORY(&amp;x)</literal>
-      and the corresponding client request
-      <varname>VG_USERREQ__DRD_START_TRACE_ADDR</varname>. Trace all
-      load and store activity on the specified address range. When DRD reports
-      a data race on a specified variable, and it's not immediately clear
-      which source code statements triggered the conflicting accesses, it can
-      be very helpful to trace all activity on the offending memory location.
+      The macro <literal>DRD_TRACE_VAR(x)</literal>. Trace all load and store
+      activity for the address range starting at <literal>&amp;x</literal> and
+      occupying <literal>sizeof(x)</literal> bytes. When DRD reports a data
+      race on a specified variable, and it's not immediately clear which
+      source code statements triggered the conflicting accesses, it can be
+      very helpful to trace all activity on the offending memory location.
+    </para>
+  </listitem>
+  <listitem>
+    <para>
+      The macro <literal>ANNOTATE_TRACE_MEMORY(&amp;x)</literal>. Trace all
+      load and store activity that touches at least the single byte at the
+      address <literal>&amp;x</literal>.
+    </para>
+  </listitem>
+  <listitem>
+    <para>
+      The client request <varname>VG_USERREQ__DRD_START_TRACE_ADDR</varname>,
+      which allows to trace all load and store activity for the specified
+      address range.
     </para>
   </listitem>
   <listitem>