fix lttd append
[ltt-control.git] / tags / ltt-control-0.51-12082008 / lttctl / ltt-disarmall.sh
CommitLineData
366ebe80 1#excluding locking
2#excluding core markers, not connected to default.
3echo Disconnecting all markers
4MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep -v ^locking_|grep -v ^lockdep_|grep -v ^lockdep|grep -v ^tap_`
5for a in $MARKERS; do echo Disconnecting $a; echo "disconnect $a" > /proc/ltt; done
6
7
8# Markers starting with "tap_" are considered high-speed.
9echo Disconnecting high-rate markers from tap
10MARKERS=`cat /proc/ltt | grep ^tap_`
11
12#Uncomment the following to also stop recording lockdep events.
13#MARKERS=`cat /proc/ltt | grep -e ^tap_ -e ^lockdep`
14
15for a in $MARKERS; do
16 echo Disconnecting $a
17
18 echo "disconnect $a ltt_tap_marker" > /proc/ltt
19done
This page took 0.022572 seconds and 4 git commands to generate.