X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=trunk%2Fltt-control%2Flttctl%2Fltt-armall.sh;h=d71828bd70d31854c3984944c611ef401b0eacc7;hb=ae4aa4972bb6b7c78d71ac55761fb03405c36bc0;hp=ae6867de4d33abe87f168164676bda4019dd5684;hpb=024405bd6d7489a7c502509e1ed4ca48d8cd6296;p=ltt-control.git diff --git a/trunk/ltt-control/lttctl/ltt-armall.sh b/trunk/ltt-control/lttctl/ltt-armall.sh index ae6867d..d71828b 100755 --- a/trunk/ltt-control/lttctl/ltt-armall.sh +++ b/trunk/ltt-control/lttctl/ltt-armall.sh @@ -9,16 +9,16 @@ for a in $MARKERS; do #redirect markers carrying state information to dedicated channels case $a in - list_process_state|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) + 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) + list_interrupt|statedump_idt_table|statedump_sys_call_table|statedump_softirq_vec) CHANNEL=interrupts ;; list_network_ipv4_interface|list_network_ip_interface) CHANNEL=network ;; - kernel_module_load|kernel_module_free) + list_module|kernel_module_load|kernel_module_free) CHANNEL=modules ;; *) @@ -33,10 +33,10 @@ done # Connect the interesting high-speed markers to the marker tap. # Markers starting with "tap_" are considered high-speed. echo Connecting high-rate markers to tap -MARKERS=`cat /proc/ltt | grep ^tap_` +MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u |grep ^tap_` #Uncomment the following to also record lockdep events. -#MARKERS=`cat /proc/ltt | grep -e ^tap_ -e ^lockdep` +#MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -e ^tap_ -e ^lockdep` for a in $MARKERS; do echo Connecting $a