From c6bcebb0950de6b661a4c0ae24f3ebdb9c6f8ba7 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 21 Jan 2008 18:32:13 +0000 Subject: [PATCH] update armall git-svn-id: http://ltt.polymtl.ca/svn@2803 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-control/lttctl/ltt-armall.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ltt-control/lttctl/ltt-armall.sh b/ltt-control/lttctl/ltt-armall.sh index 31b0dc0..9624ff6 100755 --- a/ltt-control/lttctl/ltt-armall.sh +++ b/ltt-control/lttctl/ltt-armall.sh @@ -1,5 +1,15 @@ #excluding core markers (already connected) #excluding locking markers (high traffic) + +#scheduler probe +echo Loading probes +modprobe ltt-sched + echo Connecting all markers -MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep -v ^locking_` -for a in $MARKERS; do echo Connecting $a; echo "connect $a default" > /proc/ltt > /proc/ltt; done +MARKERS=`cat /proc/ltt|grep -v %k|awk '{print $2}'|sort -u|grep -v ^core_|grep +-v ^locking_ |grep -v ^internal_` + +echo Connecting internal_kernel_sched_schedule +echo "connect internal_kernel_sched_schedule scheduler" > /proc/ltt + +for a in $MARKERS; do echo Connecting $a; echo "connect $a default" > /proc/ltt; done -- 2.34.1