Remove commented code
[ltt-control.git] / lttctl / ltt-disarmall.sh
... / ...
CommitLineData
1DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}')
2MARKERSROOT=${DEBUGFSROOT}/ltt/markers
3
4echo Disconnecting all markers
5
6for 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 Disconnecting ${m}
17 echo 0 > ${m}/enable
18 done
19 ;;
20 esac
21done
This page took 0.026413 seconds and 4 git commands to generate.