X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt-control%2Flttctl%2Fltt-armalluser.sh;h=290e360b42f4b16b02ff32cbf8a7340be2b4824d;hb=31efe1f8304f09a4f4139c387a98d3215cd423c9;hp=d8bbcd2221c9e90961780f37b53542ff5e0d47ea;hpb=dde2e6b438064f792e04b16308c407c1480cea68;p=lttv.git diff --git a/ltt-control/lttctl/ltt-armalluser.sh b/ltt-control/lttctl/ltt-armalluser.sh index d8bbcd22..290e360b 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=