X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng-track.1.txt;h=de8e7ec9d484591a9450f4156d9c24cc2bc8002d;hp=f5696f0c22e4030aaba985447d5b2681220ca01b;hb=03c5529d5cb12b279866d2c3245712a639284ce8;hpb=7712f784d95ae23c57e0f373ecf5b8b4be7bf1aa diff --git a/doc/man/lttng-track.1.txt b/doc/man/lttng-track.1.txt index f5696f0c2..de8e7ec9d 100644 --- a/doc/man/lttng-track.1.txt +++ b/doc/man/lttng-track.1.txt @@ -36,11 +36,11 @@ With the PID tracker, it is possible, for example, to record all system calls called by a given process: [role="term"] -------------------------------------------- -lttng enable-event --kernel --all --syscall -lttng track --kernel --pid=2345 -lttng start -------------------------------------------- +---- +# lttng enable-event --kernel --all --syscall +# lttng track --kernel --pid=2345 +# lttng start +---- If all the PIDs are tracked (i.e. `lttng track --pid --all`, which is the default state of all domains when creating a tracing session), then @@ -62,9 +62,9 @@ Initial whitelist: Command: [role="term"] ------------------------------------ -lttng track --userspace --pid=3,6,7 ------------------------------------ +---- +$ lttng track --userspace --pid=3,6,7 +---- Whitelist: @@ -75,9 +75,9 @@ Whitelist: Command: [role="term"] ---------------------------------- -lttng untrack --userspace --pid=7 ---------------------------------- +---- +$ lttng untrack --userspace --pid=7 +---- Whitelist: @@ -88,9 +88,9 @@ Whitelist: Command: [role="term"] ---------------------------------- -lttng track --userspace --pid=1,5 ---------------------------------- +---- +$ lttng track --userspace --pid=1,5 +---- Whitelist: