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: v0.3~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=04c989a49784c278c229a3a5fa0dc2154e03e209;p=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 b14b4a9..b28a8d0 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"