echo Connecting all markers
MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u|grep -v ^metadata|grep -v ^locking|grep -v ^lockdep`
-#separator is newline
-IFS=$
+#separator is newline, ensure compatibility with bash and ash
+N="
+"
+
+IFS=${N}
for a in $MARKERS; do
echo Connecting $a
#Uncomment the following to also record lockdep events.
#MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
-#separator is newline
-IFS=$
+IFS=${N}
for a in $MARKERS; do
echo Connecting $a