]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
misc: do not trace children with valgrind 644/head
authorSage Weil <sage@redhat.com>
Wed, 30 Sep 2015 19:50:00 +0000 (15:50 -0400)
committerSage Weil <sage@redhat.com>
Wed, 30 Sep 2015 19:50:00 +0000 (15:50 -0400)
Fixes: #13251
Signed-off-by: Sage Weil <sage@redhat.com>
teuthology/misc.py

index 7dbb0e3d10a490ad8dd1f777e390b7626eac88dd..93306e2e004399c02b356bf62133216b63437c64 100644 (file)
@@ -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',