From: Sage Weil Date: Wed, 30 Sep 2015 19:50:00 +0000 (-0400) Subject: misc: do not trace children with valgrind X-Git-Tag: 1.1.0~806^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F644%2Fhead;p=teuthology.git misc: do not trace children with valgrind Fixes: #13251 Signed-off-by: Sage Weil --- diff --git a/teuthology/misc.py b/teuthology/misc.py index 7dbb0e3d1..93306e2e0 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -1098,8 +1098,9 @@ def get_valgrind_args(testdir, name, preamble, v): val_path = '/var/log/ceph/valgrind'.format(tdir=testdir) if '--tool=memcheck' in v or '--tool=helgrind' in v: extra_args = [ - 'valgrind', + '--trace-children=no', + '--child-silent-after-fork=yes', '--num-callers=50', '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir), '--xml=yes', @@ -1109,6 +1110,8 @@ def get_valgrind_args(testdir, name, preamble, v): else: extra_args = [ 'valgrind', + '--trace-children=no', + '--child-silent-after-fork=yes', '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir), '--log-file={vdir}/{n}.log'.format(vdir=val_path, n=name), '--time-stamp=yes',