From: Sage Weil Date: Thu, 18 Feb 2021 16:23:14 +0000 (-0600) Subject: misc: make valgrind behave with tcmalloc X-Git-Tag: 1.1.0^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1618%2Fhead;p=teuthology.git misc: make valgrind behave with tcmalloc Signed-off-by: Sage Weil --- diff --git a/teuthology/misc.py b/teuthology/misc.py index ab7dd9936..767da3193 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -1047,6 +1047,7 @@ def get_valgrind_args(testdir, name, preamble, v, exit_on_first_error=True): 'valgrind', '--trace-children=no', '--child-silent-after-fork=yes', + '--soname-synonyms=somalloc=*tcmalloc*', '--num-callers=50', '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir), '--xml=yes', @@ -1059,6 +1060,7 @@ def get_valgrind_args(testdir, name, preamble, v, exit_on_first_error=True): 'valgrind', '--trace-children=no', '--child-silent-after-fork=yes', + '--soname-synonyms=somalloc=*tcmalloc*', '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir), '--log-file={vdir}/{n}.log'.format(vdir=val_path, n=name), '--time-stamp=yes',