From 9a9ee610bd307eeaa4316ef151f2ea9a9f299a63 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 10 Jan 2014 11:02:06 -0800 Subject: [PATCH] valgrind: ignore tcmalloc uninitialized memory This is the main source of noise when running valgrind + tcmalloc. Apparently there are other issues, so I think we still need the notcmalloc gitbuilder, but this gets us part of the way. Signed-off-by: Sage Weil --- teuthology/task/valgrind.supp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/teuthology/task/valgrind.supp b/teuthology/task/valgrind.supp index 1da125920d..4b813d0ddc 100644 --- a/teuthology/task/valgrind.supp +++ b/teuthology/task/valgrind.supp @@ -1,3 +1,12 @@ +{ + tcmalloc: msync heap allocation points to uninit bytes + Memcheck:Param + msync(start) + obj:*libpthread* + ... + fun:*tcmalloc*GrowHeap* + ... +} { ceph global: deliberate onexit leak Memcheck:Leak @@ -6,21 +15,21 @@ ... } { - ignore all static leveldb leaks + libleveldb: ignore all static leveldb leaks Memcheck:Leak ... fun:*leveldb* ... } { - ignore all dynamic libleveldb leaks + libleveldb: ignore all dynamic libleveldb leaks Memcheck:Leak ... obj:*libleveldb.so* ... } { - ignore libcurl leaks + libcurl: ignore libcurl leaks Memcheck:Leak ... fun:*curl_global_init -- 2.39.5