tools/libxc: Add Valgrind client requests
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 10 Jun 2014 14:41:07 +0000 (15:41 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 12 Jun 2014 09:04:44 +0000 (10:04 +0100)
commit171c6d7ac17e29e0f4dcf058aa6c4ee11088f6c7
tree7d696df5a292285952e722672963febc816f5cc3
parent825c466dc85b3bc901935118626fa37403e65b0f
tools/libxc: Add Valgrind client requests

Valgrind client requests can be used by code to provide extra debugging
information about memory ranges, or to request checks at specific points.

Reference:
  http://valgrind.org/docs/manual/mc-manual.html#mc-manual.clientreqs

Client requests are safe to compile into code for running outside of
valgrind.  Therefore, enable client requests whenever autoconf can find
memcheck.h and debug builds are enabled.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- reran autogen.sh ]
tools/config.h.in
tools/configure
tools/configure.ac
tools/libxc/Makefile
tools/libxc/xc_private.h