]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
valgrind: use --time-stamp=yes 325/head
authorSage Weil <sage@redhat.com>
Sat, 30 Aug 2014 01:58:09 +0000 (18:58 -0700)
committerSage Weil <sage@redhat.com>
Sat, 30 Aug 2014 01:58:16 +0000 (18:58 -0700)
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 <sage@redhat.com>
teuthology/misc.py

index bcf3c41b3a2a9a38cdb43930313186b06dd96e48..5f1ac07c517fa3a1b121d81d19871a344c03e02a 100644 (file)
@@ -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,