X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt-control%2Flttctl%2Fltt-armalluser.sh;h=c39009778cfcf2e63d29bc3a473b4ef1a09772b7;hb=e1669aca10fc3791f7112aeac6707f33a1cae440;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..c390097 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`; do + echo Connecting marker $a:$marker case $marker in *) CHANNEL=