update tap scripts
[ltt-control.git] / trunk / ltt-control / lttctl / ltt-armall.sh
index 562ef15cb862dd0eedf70ffa9f0d8a3b5edde29e..ae6867de4d33abe87f168164676bda4019dd5684 100755 (executable)
@@ -2,7 +2,7 @@
 #excluding locking markers (high traffic)
 
 echo Connecting all markers
-MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep -v ^locking_`
+MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep -v ^locking_|grep -v ^lockdep_`
 
 for a in $MARKERS; do
        echo Connecting $a
@@ -28,3 +28,25 @@ for a in $MARKERS; do
 
        echo "connect $a default dynamic $CHANNEL" > /proc/ltt
 done
+
+
+# Connect the interesting high-speed markers to the marker tap.
+# Markers starting with "tap_" are considered high-speed.
+echo Connecting high-rate markers to tap
+MARKERS=`cat /proc/ltt | grep ^tap_`
+
+#Uncomment the following to also record lockdep events.
+#MARKERS=`cat /proc/ltt | grep -e ^tap_ -e ^lockdep`
+
+for a in $MARKERS; do
+       echo Connecting $a
+
+       #redirect markers carrying state information to dedicated channels
+       case $a in
+       *)
+               CHANNEL=
+               ;;
+       esac
+
+       echo "connect $a ltt_tap_marker dynamic $CHANNEL" > /proc/ltt
+done
This page took 0.023383 seconds and 4 git commands to generate.