move all projects into the trunk directory
[ltt-control.git] / trunk / ltt-control / lttctl / ltt-armalluser.sh
diff --git a/trunk/ltt-control/lttctl/ltt-armalluser.sh b/trunk/ltt-control/lttctl/ltt-armalluser.sh
new file mode 100755 (executable)
index 0000000..290e360
--- /dev/null
@@ -0,0 +1,18 @@
+#excluding core markers (already connected)
+#excluding locking markers (high traffic)
+
+echo Connecting all userspace markers of _CURRENTLY RUNNING_ processes only !
+echo All the markers listed here will also automatically be enabled if 
+echo present in a newly created process.
+
+for a in /proc/[0-9]*; do
+       for marker in `cat $a/markers | awk '{print $2}'`; do
+               echo Connecting marker $a:$marker
+               case $marker in 
+               *)
+                       CHANNEL=
+                       ;;
+               esac
+               echo "connect $marker default dynamic $CHANNEL" > /proc/ltt
+       done
+done
This page took 0.022499 seconds and 4 git commands to generate.