update compat, fix newline
[lttv.git] / trunk / ltt-control / lttctl / ltt-disarmall.sh
CommitLineData
cabe0d62 1#excluding locking
2#excluding core markers, not connected to default.
3echo Disconnecting all markers
c90f6125 4MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u|grep -v ^metadata|grep -v ^locking|grep -v ^lockdep|grep -v ^tap`
5
8eb22efb 6#separator is newline
7IFS=$
cabe0d62 8for a in $MARKERS; do echo Disconnecting $a; echo "disconnect $a" > /proc/ltt; done
a2fe39fa 9
a2fe39fa 10# Markers starting with "tap_" are considered high-speed.
2a2b8f21 11echo Disconnecting high-rate markers to tap
c90f6125 12MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u |grep ^tap`
a2fe39fa 13
14#Uncomment the following to also stop recording lockdep events.
2a2b8f21 15#MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
a2fe39fa 16
8eb22efb 17#separator is newline
18IFS=$
a2fe39fa 19for a in $MARKERS; do
20 echo Disconnecting $a
21
22 echo "disconnect $a ltt_tap_marker" > /proc/ltt
23done
This page took 0.026674 seconds and 4 git commands to generate.