Remove commented code
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Wed, 18 Nov 2009 15:49:18 +0000 (10:49 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 18 Nov 2009 15:49:18 +0000 (10:49 -0500)
No need to keep old cruft there! It's in the source control.

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
Cc: Pierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
lttctl/ltt-armall.sh
lttctl/ltt-disarmall.sh

index f0824c819eebab7a9656b2ebf69714a10b5b46c1..4c117de1f771dd81e0769bfff66c43594feb41e6 100755 (executable)
@@ -1,6 +1,3 @@
-#excluding core markers (already connected)
-#excluding locking markers (high traffic)
-
 DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
 MARKERSROOT=${DEBUGFSROOT}/ltt/markers
 
@@ -22,26 +19,3 @@ for c in ${MARKERSROOT}/*; do
                ;;
        esac
 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 -v %k|awk '{print $2}'|sort -u |grep ^tap_`
-#
-##Uncomment the following to also record lockdep events.
-##MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
-#
-#IFS=${N}
-#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" > /proc/ltt
-#done
index 2473b815bf4c2a713b8ef71300717c5878a4edd9..d06950f37bbc2685cc0c2298f79a648e723fee68 100755 (executable)
@@ -1,6 +1,3 @@
-#excluding core markers (already connected)
-#excluding locking markers (high traffic)
-
 DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
 MARKERSROOT=${DEBUGFSROOT}/ltt/markers
 
@@ -22,17 +19,3 @@ for c in ${MARKERSROOT}/*; do
                ;;
        esac
 done
-
-## Markers starting with "tap_" are considered high-speed.
-#echo Disconnecting high-rate markers to tap
-#MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u |grep ^tap`
-#
-##Uncomment the following to also stop recording lockdep events.
-##MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
-#
-#IFS=${N}
-#for a in $MARKERS; do
-#      echo Disconnecting $a
-#
-#      echo "disconnect $a ltt_tap_marker" > /proc/ltt
-#done
This page took 0.024944 seconds and 4 git commands to generate.