X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng.1;h=1475068c56f740194e1b2d161e3cc7df6ec9d0ca;hp=c8933441eaeff6aa410ffe2d0c59b60538ce9cd1;hb=553067af0eedeae7dccfa7c83b5a68335a088b75;hpb=bb2b749bfdced63e744f660aaab28bc12669b6dc diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index c8933441e..1475068c5 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -252,9 +252,12 @@ Simple listing of options .BR "\-o, \-\-output PATH" Specify output path for traces .TP +.BR "\-\-no-output" +Traces will not be output +.TP .BR "\-\-snapshot" -Set the session in snapshot mode. Created without a consumer and uses the URL, -if one is specified, as the default snapshot output. Every channel will be set +Set the session in snapshot mode. Created in no-output mode and uses the +URL, if one is specified, as the default snapshot output. Every channel will be set in overwrite mode and with mmap output (splice not supported). .TP .BR "\-\-live [USEC]" @@ -399,7 +402,8 @@ Apply to the user-space tracer Discard event when subbuffers are full (default) .TP .BR "\-\-overwrite" -Flight recorder mode : overwrites events when subbuffers are full +Flight recorder mode: overwrites events when subbuffers are full. The +number of subbuffer must be 2 or more. .TP .BR "\-\-subbuf-size SIZE" Subbuffer size in bytes {+k,+M,+G}. @@ -440,7 +444,7 @@ Use shared buffer for the whole system (\-k only) Maximum size of each tracefile within a stream (in bytes). 0 means unlimited. (default: 0) Note: traces generated with this option may inaccurately report -discarded events as per CTF 1.8. +discarded events as of CTF 1.8. .TP .BR "\-W, \-\-tracefile-count COUNT" Used in conjunction with \-C option, this will limit the number of files @@ -772,8 +776,9 @@ already exists. Save tracing session configuration If SESSION is omitted, all session configurations will be saved to individual -\fB.lttng\fP files under the user's session configuration directory. The -default session configuration file naming scheme is \fBSESSION.lttng\fP. +\fB.lttng\fP files under the user's session configuration directory (default: +~/.lttng/sessions/ or /var/run/lttng/sessions/ for root user). The default +session configuration file naming scheme is \fBSESSION.lttng\fP. .B OPTIONS: @@ -785,7 +790,8 @@ Show summary of possible options and commands. Save all session configurations (default). .TP .BR "\-o, \-\-output-path PATH" -Specify the output path for saved sessions (default: ~/.lttng/sessions/). +Specify the output path for saved sessions. This overrides the default session +configuration directory. .TP .BR "\-f, -\-force" Overwrite session configuration file if session name clashes. @@ -876,6 +882,10 @@ Name of the snapshot's output. Maximum size in bytes of the snapshot. The maxium size does not include the metadata file. Human readable format is accepted: {+k,+M,+G}. For instance, \-\-max-size 5M + +The minimum size of a snapshot is computed by multiplying the total amount of +streams in the session by the largest subbuffer size. This is to ensure +fairness between channels when extracting data. .TP .BR "\-C, \-\-ctrl-url URL" Set control path URL. (Must use -D also)