Target
~~~~~~
-option:-c, option:--channel='CHANNEL'::
+option:-c 'CHANNEL', option:--channel='CHANNEL'::
Add context fields to a channel named 'CHANNEL' instead of adding
them to all the channels.
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Add context fields to a channel in the tracing session named 'SESSION'
instead of the current tracing session.
option:--list::
List the available context fields. Use this option alone.
-option:-t, option:--type='TYPE'::
+option:-t 'TYPE', option:--type='TYPE'::
Add context field named 'TYPE'. This option can be repeated as
many times as needed on the command-line.
OPTIONS
-------
-option:-x, option:--extract='PATH'::
+option:-x 'PATH', option:--extract='PATH'::
Extract recovered traces to path 'PATH'; do not execute the trace
viewer.
appending additional `v` letters to the option
(that is, `-vv` and `-vvv`).
-option:-e, option:--viewer='VIEWER'::
+option:-e 'VIEWER', option:--viewer='VIEWER'::
Use trace viewer 'VIEWER' to view the trace buffers. 'VIEWER' is the
absolute path to the viewer command to use, and it can contain
command arguments as well. The trace directory paths are passed to
option:--no-output::
In <<local-mode,local mode>>, do not output any trace data.
-option:-o, option:--output='PATH'::
+option:-o 'PATH', option:--output='PATH'::
In <<local-mode,local mode>>, set trace output path to 'PATH'.
option:--shm-path='PATH'::
See the <<url-format,URL format>> section above for more information
about the syntax of the following options' 'URL' argument.
-option:-C, option:--ctrl-url='URL'::
+option:-C 'URL', option:--ctrl-url='URL'::
Set control path URL to 'URL' (must use option:--data-url option
also).
-option:-D, option:--data-url='URL'::
+option:-D 'URL', option:--data-url='URL'::
Set data path URL to 'URL' (must use option:--ctrl-url option
also).
-option:-U, option:--set-url='URL'::
+option:-U 'URL', option:--set-url='URL'::
Set URL destination of the trace data to 'URL'. It is persistent for
the session lifetime. This option sets both data
(option:--data-url option) and control (option:--ctrl-url option)
Target
~~~~~~
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Disable channels in the tracing session named 'SESSION'
instead of the current tracing session.
Target
~~~~~~
-option:-c, option:--channel='CHANNEL'::
+option:-c 'CHANNEL', option:--channel='CHANNEL'::
Disable event rules in the channel named 'CHANNEL' instead
of the default channel name `channel0`.
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Disable event rules in the tracing session named 'SESSION'
instead of the current tracing session.
Target
~~~~~~
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Create or enable channel in the tracing session named 'SESSION'
instead of the current tracing session.
Target
~~~~~~
-option:-c, option:--channel='CHANNEL'::
+option:-c 'CHANNEL', option:--channel='CHANNEL'::
Create or enable event rules in the channel named 'CHANNEL' instead
of the default channel name `channel0`.
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Create or enable event rules in the tracing session named 'SESSION'
instead of the current tracing session.
Filtering and exclusion
~~~~~~~~~~~~~~~~~~~~~~~
-option:-x, option:--exclude='EVENT'[,'EVENT']...::
+option:-x 'EVENT'[,'EVENT']..., option:--exclude='EVENT'[,'EVENT']...::
Exclude events named 'EVENT' from the event rule. This option
can be used when the command's 'EVENT' argument contains a wildcard
(`*`) to exclude specific names. Only available with application
domains.
-option:-f, option:--filter='EXPR'::
+option:-f 'EXPR', option:--filter='EXPR'::
Add filter expression condition to the event rule. Expression 'EXPR'
must evaluate to true when executed against the dynamic values of
event fields. See the <<filter-syntax,Filter expression syntax>>
Target
~~~~~~
-option:-c, option:--channel='CHANNEL'::
+option:-c 'CHANNEL', option:--channel='CHANNEL'::
Only list the details of the channel named 'CHANNEL'.
option:-f, option:--force::
Overwrite existing tracing sessions when loading.
-option:-i, option:--input-path='PATH'::
+option:-i 'PATH', option:--input-path='PATH'::
Load tracing session configurations from 'PATH', either a directory
or a file, instead of loading them from the default search
directories.
include::common-cmd-options-head.txt[]
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Manage the metadata generation of the tracing session named 'SESSION'
instead of the current tracing session.
include::common-cmd-options-head.txt[]
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Regenerate the data of the tracing session named 'SESSION'
instead of the current tracing session.
option:--background option instead to keep the file descriptors
open.
-option:-g, option:--group='GROUP'::
+option:-g 'GROUP', option:--group='GROUP'::
Use 'GROUP' as Unix tracing group (default: `tracing`).
-option:-o, option:--output='PATH'::
+option:-o 'PATH', option:--output='PATH'::
Set base directory of written trace data to 'PATH'.
+
See the <<output-directory,Output directory>> section above for more
See the <<url-format,URL format>> section above for more information
about the syntax of the following options' 'URL' argument.
-option:-C, option:--control-port='URL'::
+option:-C 'URL', option:--control-port='URL'::
Listen to control data on URL 'URL' (default:
+tcp://{default_network_control_bind_address}:{default_network_control_port}+).
-option:-D, option:--data-port='URL'::
+option:-D 'URL', option:--data-port='URL'::
Listen to trace data on URL 'URL' (default:
+tcp://{default_network_data_bind_address}:{default_network_data_port}+).
-option:-L, option:--live-port='URL'::
+option:-L 'URL', option:--live-port='URL'::
Listen to LTTng live connections on URL 'URL'
(default:
+tcp://{default_network_viewer_bind_address}:{default_network_viewer_port}+).
Overwrite existing tracing session configuration files when
saving.
-option:-o, option:--output-path='PATH'::
+option:-o 'PATH', option:--output-path='PATH'::
Set output directory path to 'PATH'.
Listen on TCP port 'PORT' for agent application registrations
(default: {default_agent_tcp_port}).
-option:-a, option:--apps-sock='PATH'::
+option:-a 'PATH', option:--apps-sock='PATH'::
Set application Unix socket path to 'PATH'.
-option:-c, option:--client-sock='PATH'::
+option:-c 'PATH', option:--client-sock='PATH'::
Set client Unix socket path to 'PATH'.
option:--consumerd32-libdir='PATH'::
Target
~~~~~~
-option:-s, option:--session='SESSION'::
+option:-s 'SESSION', option:--session='SESSION'::
Take a snapshot of the sub-buffers of the channels contained in
the tracing session named 'SESSION' instead of the current
tracing session.
Snapshot output
~~~~~~~~~~~~~~~
-option:-C, option:--ctrl-url='URL'::
+option:-C 'URL', option:--ctrl-url='URL'::
Set control path URL to 'URL' (must use option:--data-url option
also).
-option:-D, option:--data-url='URL'::
+option:-D 'URL', option:--data-url='URL'::
Set data path URL to 'URL' (must use option:--ctrl-url option
also).
-option:-m, option:--max-size='SIZE'::
+option:-m 'SIZE', option:--max-size='SIZE'::
Limit the total size of all the snapshot files written when
recording a snapshot to 'SIZE' bytes. The `k` (kiB), `M` (MiB),
and `G` (GiB) suffixes are supported.
-option:-n, option:--name='NAME'::
+option:-n 'NAME', option:--name='NAME'::
Assign the name 'NAME' to the snapshot output.
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.
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
Used in conjunction with an empty option:--pid option: untrack _all_
process IDs (clear the whitelist).
-option:-p, option:--pid[='PID'[,'PID']...]::
+option:-p ['PID'[,'PID']...], option:--pid[='PID'[,'PID']...]::
Untrack process IDs 'PID' (remove them from the current whitelist).
+
The 'PID' argument must be omitted when also using the option:--all
include::common-cmd-options-head.txt[]
-option:-t, option:--trace-path='PATH'::
+option:-t 'PATH', option:--trace-path='PATH'::
View trace at path 'PATH' instead of using the chosen tracing
session's trace path.
-option:-e, option:--viewer='CMD'::
+option:-e 'CMD', option:--viewer='CMD'::
Use 'CMD' as the trace viewer.
OPTIONS
-------
-option:-g, option:--group='GROUP'::
+option:-g 'GROUP', option:--group='GROUP'::
Use 'GROUP' as Unix tracing group (default: `tracing`).
-option:-m, option:--mi='TYPE'::
+option:-m 'TYPE', option:--mi='TYPE'::
Print the command's result using the machine interface type 'TYPE'
instead of a human-readable output.
+