+
+
+# 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