From: Pierre-Marc Fournier Date: Sat, 27 Feb 2010 17:30:48 +0000 (-0500) Subject: usttrace: add nanoseconds to traceset directory name X-Git-Tag: v1.9.1~693 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=04c989a49784c278c229a3a5fa0dc2154e03e209;p=lttng-ust.git usttrace: add nanoseconds to traceset directory name Without this, the test scripts may create two traces simultaneously, resulting in two sets of traces in the same directory --- diff --git a/usttrace b/usttrace index b14b4a9c..b28a8d01 100755 --- a/usttrace +++ b/usttrace @@ -96,7 +96,7 @@ then fi # Create directory for trace output -DATESTRING="$(hostname)-$(date +%Y%m%d%H%M%S)" +DATESTRING="$(hostname)-$(date +%Y%m%d%H%M%S%N)" OUTDIR="$BASE_TRACE_DIR/$DATESTRING" mkdir -p "$OUTDIR"