2 #excluding core markers, not connected to default.
3 echo Disconnecting all markers
4 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_`
5 for a
in $MARKERS; do echo Disconnecting
$a; echo "disconnect $a" > /proc
/ltt
; done
7 # Markers starting with "tap_" are considered high-speed.
8 echo Disconnecting high-rate markers to tap
9 MARKERS
=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u |grep ^tap_`
11 #Uncomment the following to also stop recording lockdep events.
12 #MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
17 echo "disconnect $a ltt_tap_marker" > /proc
/ltt