X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=ltt-control%2Flttctl%2Fltt-armalluser.sh;h=290e360b42f4b16b02ff32cbf8a7340be2b4824d;hb=b7898ea36bca61bf37cc682ba5a92bc27189e8d5;hp=d8bbcd2221c9e90961780f37b53542ff5e0d47ea;hpb=56bf1966ff781f03aaad4a27e1fa3a01f76e4bbd;p=ltt-control.git diff --git a/ltt-control/lttctl/ltt-armalluser.sh b/ltt-control/lttctl/ltt-armalluser.sh index d8bbcd2..290e360 100755 --- a/ltt-control/lttctl/ltt-armalluser.sh +++ b/ltt-control/lttctl/ltt-armalluser.sh @@ -2,11 +2,12 @@ #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 - 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=