X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt-control%2Flttctl%2Fltt-armalluser.sh;h=aa670891ba06e9718941f3055514fb6cdef72167;hb=fb1caac2704db7f0397de94ef94ec8ce9e5b4a7c;hp=cd0a2eb9f36517f66367b218ff97e7f4ca891cef;hpb=6615e1cff4b14af729b9d97723fcbf37fd3d7eb0;p=ltt-control.git diff --git a/ltt-control/lttctl/ltt-armalluser.sh b/ltt-control/lttctl/ltt-armalluser.sh index cd0a2eb..aa67089 100755 --- a/ltt-control/lttctl/ltt-armalluser.sh +++ b/ltt-control/lttctl/ltt-armalluser.sh @@ -1,12 +1,11 @@ #excluding core markers (already connected) #excluding locking markers (high traffic) -echo Connecting all userspace markers +echo Connecting all userspace markers of _CURRENTLY RUNNING_ processes only ! for a in /proc/[0-9]*; do - echo Connecting markers in $a - - for marker in $a/markers; do + for marker in `cat $a/markers | awk '{print $2}'`; do + echo Connecting marker $a:$marker case $marker in *) CHANNEL=