X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-start.1.txt;h=9cc721de75eecfb8d2ed769498d4e892ff37c7b0;hb=af1c4164dd7bad940a84c29c2b429d76e3fc0e33;hp=2c9405bacc82336a8e391398d0ba2624eac7ad01;hpb=ce19b9ed9bd9591bd0c4d1998780082a490991fd;p=lttng-tools.git diff --git a/doc/man/lttng-start.1.txt b/doc/man/lttng-start.1.txt index 2c9405bac..9cc721de7 100644 --- a/doc/man/lttng-start.1.txt +++ b/doc/man/lttng-start.1.txt @@ -1,10 +1,11 @@ lttng-start(1) ============== +:revdate: 29 April 2021 NAME ---- -lttng-start - Start LTTng tracers +lttng-start - Start an LTTng tracing session SYNOPSIS @@ -15,25 +16,25 @@ SYNOPSIS DESCRIPTION ----------- -The `lttng start` command starts the various LTTng tracers for a -given inactive tracing session. +The `lttng start` command starts a tracing session, that is, it +activates the LTTng tracers for: -Starting the LTTng tracers has the effect that all enabled event rules -within enabled channels can make their target event sources _emit_ trace -events. Whether they are recorded to the local file system, sent over -the network, or not recorded at all depends on the specific -configuration of the tracing session in which tracing is started. See -linklttng:lttng-create(1) for different session modes. +With the 'SESSION' argument:: + The tracing session named 'SESSION'. -A tracing session with running tracers is said to be _active_. Active -tracing sessions can return to the inactive state using the -linklttng:lttng-stop(1) command. +Without the 'SESSION' argument:: + The current tracing session (see man:lttng-concepts(7) to learn more + about the current tracing session). -If 'SESSION' is omitted, the LTTng tracers are started for the current -tracing session (see linklttng:lttng-create(1) for more information -about the current tracing session). Otherwise, they are started for the -existing tracing session named 'SESSION'. `lttng list` -outputs all the existing tracing sessions (see linklttng:lttng-list(1)). +See man:lttng-concepts(7) to learn more about tracing sessions. + +The selected tracing session must be inactive (stopped). A tracing +session is inactive on creation (see man:lttng-create(1)). + +A `start-session` trigger action can also start a tracing session +(see man:lttng-add-trigger(1)). + +Stop an active tracing session with the man:lttng-stop(1) command. include::common-cmd-options-head.txt[] @@ -47,5 +48,9 @@ include::common-cmd-footer.txt[] SEE ALSO -------- -linklttng:lttng-stop(1), -linklttng:lttng(1) +man:lttng(1), +man:lttng-add-trigger(1), +man:lttng-create(1), +man:lttng-enable-event(1), +man:lttng-stop(1), +man:lttng-concepts(7)