From da2db2cb3114341d837c6f13ae8104d4b4bf4659 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Wed, 27 Jun 2012 13:41:17 -0700 Subject: [PATCH] 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 --- utilities/ovs-lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-lib.in b/utilities/ovs-lib.in index f8e26091c..04ab85abd 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 -- 2.43.0