[pulseaudio-discuss] [PATCH] Add a Valgrind suppression file

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Sat Sep 20 23:08:56 PDT 2014


On Fri, 2014-09-19 at 14:34 +0200, David Henningsson wrote:
> Cool, I did not know this was possible. So how does valgrind know that 
> it should pick this file up and use it? Does it also work with 
> out-of-tree builds?

Valgrind picks up the file when you give the option
--suppressions=<file>. I don't see why this wouldn't work in out-of-tree
builds, since the matching is (in this case) made only based on the
function name where the error happens.

> Could there be a comment in the file as well what it 
> is about and how to use it?

Probably. I didn't notice any information about comments when I read the
syntax documentation, but I didn't particularly look for that either.
I'll add a comment in v2 if I figure out how to do that.

-- 
Tanu



More information about the pulseaudio-discuss mailing list