update lttctl
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 13 Dec 2008 21:25:04 +0000 (21:25 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 13 Dec 2008 21:25:04 +0000 (21:25 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3174 04897980-b3bd-0310-b5e0-8ef037075253

trunk/ltt-control/configure.in
trunk/ltt-control/lttctl/ltt-armall.sh
trunk/ltt-control/lttctl/ltt-disarmall.sh

index 014028dff10a067cf4fcd4cd83b345b8b27795c3..41aa96811c91399b2ff1f2943ae7634b9b4a1c4d 100644 (file)
@@ -23,7 +23,7 @@
 AC_PREREQ(2.57)
 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
 #AC_WITH_LTDL  # not needed ?
-AM_INIT_AUTOMAKE(ltt-control,0.59-25112008)
+AM_INIT_AUTOMAKE(ltt-control,0.60-13122008)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index d71828bd70d31854c3984944c611ef401b0eacc7..ee029fbee989865d070a191119842a29075fd8f6 100755 (executable)
@@ -2,31 +2,32 @@
 #excluding locking markers (high traffic)
 
 echo Connecting all markers
-MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep -v ^locking_|grep -v ^lockdep_`
+MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u|grep -v ^metadata|grep -v ^locking|grep -v ^lockdep`
 
+IFS=$'\n'
 for a in $MARKERS; do
        echo Connecting $a
 
-       #redirect markers carrying state information to dedicated channels
-       case $a in
-       list_process_state|list_file_descriptor|user_generic_thread_brand|fs_exec|kernel_process_fork|kernel_process_free|kernel_process_exit|kernel_arch_kthread_create|list_statedump_end|list_vm_map)
-               CHANNEL=processes
-               ;;
-       list_interrupt|statedump_idt_table|statedump_sys_call_table|statedump_softirq_vec)
-               CHANNEL=interrupts
-               ;;
-       list_network_ipv4_interface|list_network_ip_interface)
-               CHANNEL=network
-               ;;
-       list_module|kernel_module_load|kernel_module_free)
-               CHANNEL=modules
-               ;;
-       *)
-               CHANNEL=
-               ;;
-       esac
+       echo "connect $a default" > /proc/ltt
+#      #redirect markers carrying state information to dedicated channels
+#      case $a in
+#      list_process_state|list_file_descriptor|user_generic_thread_brand|fs_exec|kernel_process_fork|kernel_process_free|kernel_process_exit|kernel_arch_kthread_create|list_statedump_end|list_vm_map)
+#              CHANNEL=processes
+#              ;;
+#      list_interrupt|statedump_idt_table|statedump_sys_call_table|statedump_softirq_vec)
+#              CHANNEL=interrupts
+#              ;;
+#      list_network_ipv4_interface|list_network_ip_interface)
+#              CHANNEL=network
+#              ;;
+#      list_module|kernel_module_load|kernel_module_free)
+#              CHANNEL=modules
+#              ;;
+#      *)
+#              CHANNEL=
+#              ;;
+#      esac
 
-       echo "connect $a default dynamic $CHANNEL" > /proc/ltt
 done
 
 
@@ -48,5 +49,5 @@ for a in $MARKERS; do
                ;;
        esac
 
-       echo "connect $a ltt_tap_marker dynamic $CHANNEL" > /proc/ltt
+       echo "connect $a ltt_tap_marker" > /proc/ltt
 done
index 027fb2e369d90627bfa6a1fccddc46655cf30f38..bf97a5f3ec34752db052513cac1a673559683f0a 100755 (executable)
@@ -1,16 +1,19 @@
 #excluding locking
 #excluding core markers, not connected to default.
 echo Disconnecting all markers
-MARKERS=`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_`
+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'
 for a in $MARKERS; do echo Disconnecting $a; echo "disconnect $a" > /proc/ltt; done
 
 # Markers starting with "tap_" are considered high-speed.
 echo Disconnecting high-rate markers to tap
-MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u |grep ^tap_`
+MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2 " " $4}'|sort -u |grep ^tap`
 
 #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'
 for a in $MARKERS; do
        echo Disconnecting $a
 
This page took 0.025169 seconds and 4 git commands to generate.