From 5e55d10ba1c558cbb3371068970922ea405c728b Mon Sep 17 00:00:00 2001 Message-Id: <5e55d10ba1c558cbb3371068970922ea405c728b.1714832785.git.mdw@distorted.org.uk> From: Mark Wooding Date: Fri, 19 Feb 2016 21:49:33 +0000 Subject: [PATCH] server/tests.at: Make the strace options better. Organization: Straylight/Edgeware From: Mark Wooding * `-ff' to split the traces for different processes out into separate files. This is mostly good because it removes the confusing interleaving of blocking system calls issued from concurrently running processes. * `-tt' to print high-resolution timestamps on each line, for correlating the traces now they've been separated. * `-v' to print out full dumps of environments and other such things. * `-s1024' to print the whole of longish strings. --- server/tests.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tests.at b/server/tests.at index df77d718..8e155b68 100644 --- a/server/tests.at +++ b/server/tests.at @@ -58,7 +58,7 @@ m4_define([WITH_STRACE], mkdir -p strace-hack.$1/ (ulimit -c hard >/dev/null 2>&1 sh -c 'cd strace-hack.$1; exec "$[]@"' - \ - strace -f -o../$1.trace \ + strace -ff -tt -v -s1024 -o../$1.trace \ sh -c 'cd ..; exec "$[]@"' - \ $2) ;; -- [mdw]