X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=trunk%2Fltt-control%2Flttctl%2Fltt-armall.sh;h=fe103d14a98ea3dc3c8e6a61a2f33c0911d0336c;hb=d48e1c4fa73bce0299398eb7359f0ad77b9ebd9d;hp=5481b76148e4f2199c694ee90792af68d35b3b33;hpb=d81c12176969a7e55583de8ada804dd1228c179d;p=ltt-control.git diff --git a/trunk/ltt-control/lttctl/ltt-armall.sh b/trunk/ltt-control/lttctl/ltt-armall.sh index 5481b76..fe103d1 100755 --- a/trunk/ltt-control/lttctl/ltt-armall.sh +++ b/trunk/ltt-control/lttctl/ltt-armall.sh @@ -5,7 +5,10 @@ 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, ensure compatibility with bash and ash -IFS=$' ' +N=" +" + +IFS=${N} for a in $MARKERS; do echo Connecting $a @@ -40,8 +43,7 @@ MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u |grep ^tap_` #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, ensure compatibility with bash and ash -IFS=$' ' +IFS=${N} for a in $MARKERS; do echo Connecting $a