From: Ian Campbell Subject: Re: [PATCH v3 6/6] tools/libxc: Add Valgrind client requests Date: Thu, 12 Jun 2014 11:31:12 +0100 Message-ID: <1402569072.19118.1.camel@kazak.uk.xensource.com> References: <1402404369.1250.98.camel@kazak.uk.xensource.com> <1402411267-2588-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1402411267-2588-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2014-06-10 at 15:41 +0100, Andrew Cooper wrote: > 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 > CC: Ian Campbell > CC: Ian Jackson Acked + applied. I'm assuming you have check for unused variable warnings in non-debug/non-valgrind configurations. I suppose it is unlikely that those two parameters would be used only for this check. > --- > > Please rerun autogen as part of committing this Done.