Add a couple more strace options.
authorWayne Davison <wayned@samba.org>
Mon, 23 Dec 2013 17:26:32 +0000 (17:26 +0000)
committerWayne Davison <wayned@samba.org>
Mon, 23 Dec 2013 17:26:32 +0000 (17:26 +0000)
rsync-debug

index 81df54f6c1b8a7280b3ee0486fae1061c0276fd6..adb6ee5f93905ffc74fbc280f7f93731c9dbfbf4 100644 (file)
@@ -4,5 +4,7 @@ ulimit -c unlimited
 
 # Some systems have "truss" or "tusc" instead of "strace".
 # The -f option tells strace to follow children too.
 
 # Some systems have "truss" or "tusc" instead of "strace".
 # The -f option tells strace to follow children too.
+# The -t option asks for timestamps.
+# The -s 1024 option increases the string decoding limit per function call.
 # The -o option tells strace where to send its output.
 # The -o option tells strace where to send its output.
-strace -f -o /tmp/rsync-$$.out rsync "${@}"
+strace -f -t -s 1024 -o /tmp/rsync-$$.out rsync "${@}"