Split client requests into public and tool-internal.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8322 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/drd_clientreq.h b/exp-drd/drd_clientreq.h
index 46f56e2..595a8ee 100644
--- a/exp-drd/drd_clientreq.h
+++ b/exp-drd/drd_clientreq.h
@@ -2,39 +2,17 @@
 #define __DRD_CLIENTREQ_H
 
 
-#include "valgrind.h" // VG_USERREQ_TOOL_BASE()
-
-
-#define DRD_IGNORE_VAR(x) { int res; VALGRIND_DO_CLIENT_REQUEST(res, 0, VG_USERREQ__DRD_START_SUPPRESSION, &(x), sizeof(x), 0, 0, 0); }
-#define DRD_TRACE_VAR(x)  { int res; VALGRIND_DO_CLIENT_REQUEST(res, 0, VG_USERREQ__DRD_START_TRACE_ADDR, &(x), sizeof(x), 0, 0, 0); }
+#include "drd.h"
 
 
 enum {
-  /* Ask the core the thread ID assigned by Valgrind. */
-  VG_USERREQ__GET_THREAD_SELF = VG_USERREQ_TOOL_BASE('D', 'R'),
-  /* args: none. */
-
-  /* To tell the drd tool to suppress data race detection on the specified */
-  /* address range. */
-  VG_USERREQ__DRD_START_SUPPRESSION,
-  /* args: start address, size in bytes */
-  /* To tell the drd tool no longer to suppress data race detection on the */
-  /* specified address range. */
-  VG_USERREQ__DRD_FINISH_SUPPRESSION,
-  /* args: start address, size in bytes */
   /* Ask drd to suppress data race reports on all currently allocated stack */
   /* data of the current thread.                                            */
-  VG_USERREQ__DRD_SUPPRESS_CURRENT_STACK,
+  VG_USERREQ__DRD_SUPPRESS_CURRENT_STACK = VG_USERREQ_TOOL_BASE('D', 'r'),
   /* args: none */
   /* To ask the drd tool to start a new segment in the specified thread. */
   VG_USERREQ__DRD_START_NEW_SEGMENT,
   /* args: POSIX thread ID. */
-  /* To ask the drd tool to trace all accesses to the specified range. */
-  VG_USERREQ__DRD_START_TRACE_ADDR,
-  /* args: Addr, SizeT. */
-  /* To ask the drd tool to stop tracing accesses to the specified range. */
-  VG_USERREQ__DRD_STOP_TRACE_ADDR,
-  /* args: Addr, SizeT. */
   /* Let the drd tool stop recording memory accesses in the calling thread. */
   VG_USERREQ__DRD_STOP_RECORDING,
   /* args: none. */
@@ -185,4 +163,5 @@
     gomp_barrier = 2
   } BarrierT;
 
+
 #endif //  __DRD_CLIENTREQ_H