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

David Henningsson david.henningsson at canonical.com
Fri Sep 19 05:34:51 PDT 2014


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? Could there be a comment in the file as well what it 
is about and how to use it?

On 2014-09-19 13:44, Tanu Kaskinen wrote:
> These rules work around this Valgrind bug:
> http://valgrind.10908.n7.nabble.com/Missing-ioctl-for-SNDRV-CTL-IOCTL-TLV-READ-td42711.html
> ---
>   pulseaudio.supp | 23 +++++++++++++++++++++++
>   1 file changed, 23 insertions(+)
>   create mode 100644 pulseaudio.supp
>
> diff --git a/pulseaudio.supp b/pulseaudio.supp
> new file mode 100644
> index 0000000..3759b3f
> --- /dev/null
> +++ b/pulseaudio.supp
> @@ -0,0 +1,23 @@
> +{
> +        alsa-lib/snd_tlv_get_dB_range
> +        Memcheck:Cond
> +        fun:snd_tlv_get_dB_range
> +}
> +
> +{
> +        alsa-lib/snd_tlv_convert_to_dB
> +        Memcheck:Cond
> +        fun:snd_tlv_convert_to_dB
> +}
> +
> +{
> +        alsa-lib/snd_tlv_convert_from_dB
> +        Memcheck:Cond
> +        fun:snd_tlv_convert_from_dB
> +}
> +
> +{
> +        alsa-lib/set_volume_ops
> +        Memcheck:Cond
> +        fun:set_volume_ops
> +}
>

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


More information about the pulseaudio-discuss mailing list