X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-control%2Flttctl%2Fltt-armalluser.sh;h=290e360b42f4b16b02ff32cbf8a7340be2b4824d;hb=31efe1f8304f09a4f4139c387a98d3215cd423c9;hp=c39009778cfcf2e63d29bc3a473b4ef1a09772b7;hpb=896197c86244c475f576e9375f4755b52500a74f;p=lttv.git diff --git a/ltt-control/lttctl/ltt-armalluser.sh b/ltt-control/lttctl/ltt-armalluser.sh index c3900977..290e360b 100755 --- a/ltt-control/lttctl/ltt-armalluser.sh +++ b/ltt-control/lttctl/ltt-armalluser.sh @@ -2,9 +2,11 @@ #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`; do + for marker in `cat $a/markers | awk '{print $2}'`; do echo Connecting marker $a:$marker case $marker in *)