ovs-lib: Add time stamps to Valgrind log messages.
authorBen Pfaff <blp@nicira.com>
Wed, 20 Jun 2012 17:29:49 +0000 (10:29 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 20 Jun 2012 21:30:16 +0000 (14:30 -0700)
Sometimes it's easier to interpret Valgrind warnings when you can
correlate them with other events.

Suggested-by: James Schmidt <jschmidt@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
utilities/ovs-lib.in

index 50a59509419846a2b17a2f2808b625128b87e9d4..f8e26091c5c3619a750b4205ed5b4097ad7ac185 100644 (file)
@@ -110,7 +110,7 @@ start_daemon () {
     case $wrapper in
         valgrind)
             if (valgrind --version) > /dev/null 2>&1; then
-                set valgrind -q --leak-check=full \
+                set valgrind -q --leak-check=full --time-stamp=yes \
                     --log-file="$logdir/$daemon.valgrind.log.%p" "$@"
             else
                 log_failure_msg "valgrind not installed, running $daemon without it"