AC_PREREQ(2.57)
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
#AC_WITH_LTDL # not needed ?
-AM_INIT_AUTOMAKE(ltt-control,0.61-15122008)
+AM_INIT_AUTOMAKE(ltt-control,0.62-23122008)
AM_CONFIG_HEADER(config.h)
AM_PROG_LIBTOOL
echo Connecting all markers
MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u|grep -v ^metadata|grep -v ^locking|grep -v ^lockdep`
-IFS=$'\n'
+#separator is newline
+IFS=$
for a in $MARKERS; do
echo Connecting $a
#Uncomment the following to also record lockdep events.
#MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
+#separator is newline
+IFS=$
for a in $MARKERS; do
echo Connecting $a
echo Disconnecting all markers
MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u|grep -v ^metadata|grep -v ^locking|grep -v ^lockdep|grep -v ^tap`
-IFS=$'\n'
+#separator is newline
+IFS=$
for a in $MARKERS; do echo Disconnecting $a; echo "disconnect $a" > /proc/ltt; done
# Markers starting with "tap_" are considered high-speed.
#Uncomment the following to also stop recording lockdep events.
#MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep`
-IFS=$'\n'
+#separator is newline
+IFS=$
for a in $MARKERS; do
echo Disconnecting $a