From 610861ab942802341ecad0bfec706d66a4f8942f Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 10 Mar 2020 13:51:39 -0500 Subject: [PATCH] teuthology/misc: pass --vgdb=yes to valgrind This lets us attach to the process later. Signed-off-by: Sage Weil --- teuthology/misc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/misc.py b/teuthology/misc.py index 4c9dab01c3..e4a3624369 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -1068,6 +1068,7 @@ def get_valgrind_args(testdir, name, preamble, v): '--xml=yes', '--xml-file={vdir}/{n}.log'.format(vdir=val_path, n=name), '--time-stamp=yes', + '--vgdb=yes', ] else: extra_args = [ @@ -1077,6 +1078,7 @@ def get_valgrind_args(testdir, name, preamble, v): '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir), '--log-file={vdir}/{n}.log'.format(vdir=val_path, n=name), '--time-stamp=yes', + '--vgdb=yes', ] args = [ 'cd', testdir, -- 2.39.5