From 2d60c2b1c351be2e0a2935d4ca6dc9882dfc2447 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 29 Aug 2014 18:58:09 -0700 Subject: [PATCH] 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 --- teuthology/misc.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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, -- 2.47.3