remove unneeded dir attic/
[ltt-control.git] / trunk / ltt-control / lttctl / ltt-armall.sh
1 #excluding core markers (already connected)
2 #excluding locking markers (high traffic)
3
4 DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
5 MARKERSROOT=${DEBUGFSROOT}/ltt/markers
6
7 echo Connecting all markers
8
9 for c in ${MARKERSROOT}/*; do
10 case ${c} in
11 ${MARKERSROOT}/metadata)
12 ;;
13 ${MARKERSROOT}/locking)
14 ;;
15 ${MARKERSROOT}/lockdep)
16 ;;
17 *)
18 for m in ${c}/*; do
19 echo Connecting ${m}
20 echo 1 > ${m}/enable
21 done
22 ;;
23 esac
24 done
25
26
27 # Connect the interesting high-speed markers to the marker tap.
28 # Markers starting with "tap_" are considered high-speed.
29 #echo Connecting high-rate markers to tap
30 #MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u |grep ^tap_`
31 #
32 ##Uncomment the following to also record lockdep events.
33 ##MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
34 #
35 #IFS=${N}
36 #for a in $MARKERS; do
37 # echo Connecting $a
38 #
39 # #redirect markers carrying state information to dedicated channels
40 # case $a in
41 # *)
42 # CHANNEL=
43 # ;;
44 # esac
45 #
46 # echo "connect $a ltt_tap_marker" > /proc/ltt
47 #done
This page took 0.030284 seconds and 4 git commands to generate.