Commit | Line | Data |
---|---|---|
1 | DEBUGFSROOT=$(grep ^debugfs /proc/mounts | head -1 | awk '{print $2}') | |
2 | MARKERSROOT=${DEBUGFSROOT}/ltt/markers | |
3 | ||
4 | echo Disconnecting 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 Disconnecting ${m} | |
17 | echo 0 > ${m}/enable | |
18 | done | |
19 | ;; | |
20 | esac | |
21 | done |