From: Sage Weil Date: Sat, 30 Aug 2014 01:58:09 +0000 (-0700) Subject: valgrind: use --time-stamp=yes X-Git-Tag: 1.1.0~1184^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2d60c2b1c351be2e0a2935d4ca6dc9882dfc2447;p=teuthology.git valgrind: use --time-stamp=yes This doesn't help on the precise version, but maybe it will on future versions... because if so, it would be really helpful it matching valgrind errors to daemon logs! In any case, though, I verified it is at worse harmless. Signed-off-by: Sage Weil --- diff --git a/teuthology/misc.py b/teuthology/misc.py index bcf3c41b3..5f1ac07c5 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -1047,13 +1047,15 @@ def get_valgrind_args(testdir, name, preamble, v): '--num-callers=50', '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir), '--xml=yes', - '--xml-file={vdir}/{n}.log'.format(vdir=val_path, n=name) + '--xml-file={vdir}/{n}.log'.format(vdir=val_path, n=name), + '--time-stamp=yes', ] else: extra_args = [ 'valgrind', '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir), - '--log-file={vdir}/{n}.log'.format(vdir=val_path, n=name) + '--log-file={vdir}/{n}.log'.format(vdir=val_path, n=name), + '--time-stamp=yes', ] args = [ 'cd', testdir,