convert from svn repository: remove tags directory
[lttv.git] / trunk / ltt-control / lttctl / ltt-armall.sh
CommitLineData
cabe0d62 1#excluding core markers (already connected)
2#excluding locking markers (high traffic)
1f67c4f5 3
7980f12a 4DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
5MARKERSROOT=${DEBUGFSROOT}/ltt/markers
6
cabe0d62 7echo Connecting all markers
1f67c4f5 8
7980f12a 9for 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
24done
68e70607 25
98a7929c 26
7980f12a 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#
c90f6125 39# #redirect markers carrying state information to dedicated channels
40# case $a in
c90f6125 41# *)
42# CHANNEL=
43# ;;
44# esac
7980f12a 45#
46# echo "connect $a ltt_tap_marker" > /proc/ltt
47#done
This page took 0.028699 seconds and 4 git commands to generate.