X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tags%2Fltt-control-0.51-12082008%2Flttctl%2Fltt-disarmall.sh;fp=tags%2Fltt-control-0.51-12082008%2Flttctl%2Fltt-disarmall.sh;h=0000000000000000000000000000000000000000;hb=d02a650e724ecbe891102700d246c439e6e59379;hp=4a3f92e446c8a57bbdffd4fab48c0fd53c73db06;hpb=42e99028d61b9ebf5d2a250fc99db0ec4941204a;p=ltt-control.git diff --git a/tags/ltt-control-0.51-12082008/lttctl/ltt-disarmall.sh b/tags/ltt-control-0.51-12082008/lttctl/ltt-disarmall.sh deleted file mode 100755 index 4a3f92e..0000000 --- a/tags/ltt-control-0.51-12082008/lttctl/ltt-disarmall.sh +++ /dev/null @@ -1,19 +0,0 @@ -#excluding locking -#excluding core markers, not connected to default. -echo Disconnecting all markers -MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep -v ^locking_|grep -v ^lockdep_|grep -v ^lockdep|grep -v ^tap_` -for a in $MARKERS; do echo Disconnecting $a; echo "disconnect $a" > /proc/ltt; done - - -# Markers starting with "tap_" are considered high-speed. -echo Disconnecting high-rate markers from tap -MARKERS=`cat /proc/ltt | grep ^tap_` - -#Uncomment the following to also stop recording lockdep events. -#MARKERS=`cat /proc/ltt | grep -e ^tap_ -e ^lockdep` - -for a in $MARKERS; do - echo Disconnecting $a - - echo "disconnect $a ltt_tap_marker" > /proc/ltt -done