doc/man: add typical `$` and `#` prompts to command lines
[lttng-tools.git] / doc / man / lttng-track.1.txt
index 739093d723aca09745fcab75ac2f5a67746241ca..de8e7ec9d484591a9450f4156d9c24cc2bc8002d 100644 (file)
@@ -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:
 
@@ -122,7 +122,7 @@ option:-u, option:--userspace::
 
 Target
 ~~~~~~
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
     Track resources in the tracing session named 'SESSION' instead of
     the current tracing session.
 
@@ -133,7 +133,7 @@ option:-a, option:--all::
     Used in conjunction with an empty option:--pid option: track _all_
     process IDs (add all entries to the whitelist).
 
-option:-p, option:--pid[='PID'[,'PID']...]::
+option:-p ['PID'[,'PID']...], option:--pid[='PID'[,'PID']...]::
     Track process IDs 'PID' (add them to the current whitelist).
 +
 The 'PID' argument must be omitted when also using the option:--all
This page took 0.023561 seconds and 4 git commands to generate.