1 #excluding core markers (already connected)
2 #excluding locking markers (high traffic)
4 DEBUGFSROOT
=$
(grep ^debugfs
/proc
/mounts |
head -1 |
awk '{print $2}')
5 MARKERSROOT
=${DEBUGFSROOT}/ltt
/markers
7 echo Connecting all markers
9 for c
in ${MARKERSROOT}/*; do
11 ${MARKERSROOT}/metadata
)
13 ${MARKERSROOT}/locking
)
15 ${MARKERSROOT}/lockdep
)
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_`
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`
36 #for a in $MARKERS; do
39 # #redirect markers carrying state information to dedicated channels
46 # echo "connect $a ltt_tap_marker" > /proc/ltt
This page took 0.030716 seconds and 5 git commands to generate.