4c117de1f771dd81e0769bfff66c43594feb41e6
[ltt-control.git] / lttctl / ltt-armall.sh
1 DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
2 MARKERSROOT=${DEBUGFSROOT}/ltt/markers
3
4 echo Connecting all markers
5
6 for c in ${MARKERSROOT}/*; do
7 case ${c} in
8 ${MARKERSROOT}/metadata)
9 ;;
10 ${MARKERSROOT}/locking)
11 ;;
12 ${MARKERSROOT}/lockdep)
13 ;;
14 *)
15 for m in ${c}/*; do
16 echo Connecting ${m}
17 echo 1 > ${m}/enable
18 done
19 ;;
20 esac
21 done
This page took 0.029084 seconds and 3 git commands to generate.