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 <[email protected]>
---
 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 f8e2609..04ab85a 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
-- 
1.7.10.2

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to