update armall
[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
a2fe39fa 4MARKERS=`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_`
cabe0d62 5for a in $MARKERS; do echo Disconnecting $a; echo "disconnect $a" > /proc/ltt; done
a2fe39fa 6
a2fe39fa 7# Markers starting with "tap_" are considered high-speed.
2a2b8f21 8echo Disconnecting high-rate markers to tap
9MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u |grep ^tap_`
a2fe39fa 10
11#Uncomment the following to also stop recording lockdep events.
2a2b8f21 12#MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
a2fe39fa 13
14for a in $MARKERS; do
15 echo Disconnecting $a
16
17 echo "disconnect $a ltt_tap_marker" > /proc/ltt
18done
This page took 0.025482 seconds and 4 git commands to generate.