[ltt-dev] LTT Userspace problems

Douglas Santos douglas.santos at polymtl.ca
Thu Jan 28 10:32:47 EST 2010


Quoting Mathieu Desnoyers <compudj at krystal.dyndns.org>:
> It should clearly be created automatically by UST.

here you are

--- usttrace.orig	2009-11-13 14:35:47.000000000 -0500
+++ usttrace	2010-01-28 10:24:20.000000000 -0500
@@ -78,6 +78,18 @@
 OUTDIR="$BASE_TRACE_DIR/$DATESTRING"
 mkdir -p "$OUTDIR"

+# create socks directory
+SOCKSDIR=/tmp/socks
+if [ ! -d $SOCKSDIR ]
+then
+	echo "Creating $SOCKSDIR"
+	mkdir -p "$SOCKSDIR"
+ 	if [ $? -ne 0 ]
+	then
+		exit 1
+	fi
+fi
+
 # Choose socket path
 SOCKPATH="/tmp/ust-sock-$$"






More information about the lttng-dev mailing list