From: Ethan Jackson Date: Wed, 27 Jun 2012 20:41:17 +0000 (-0700) Subject: ovs-ctl: Add additional options to strace wrapper. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da2db2cb3114341d837c6f13ae8104d4b4bf4659;p=openvswitch ovs-ctl: Add additional options to strace wrapper. It's useful to know how long each system call took, and at what time each system call happened. In addition this patch causes strace to print strings more fully allowing log messages to be seen in the output. Signed-off-by: Ethan Jackson --- diff --git a/utilities/ovs-lib.in b/utilities/ovs-lib.in index f8e26091..04ab85ab 100644 --- a/utilities/ovs-lib.in +++ b/utilities/ovs-lib.in @@ -118,7 +118,7 @@ start_daemon () { ;; strace) if (strace -V) > /dev/null 2>&1; then - set strace -D -ff -o "$logdir/$daemon.strace.log" "$@" + set strace -tt -T -s 256 -D -ff -o "$logdir/$daemon.strace.log" "$@" else log_failure_msg "strace not installed, running $daemon without it" fi