X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-set-session.1.txt;h=c0ae89aa0d62b6fc3dcedea233216904a9b0bf22;hb=9e433ef8b0414138c2df173f3300146616fd6c6f;hp=2e97c055b9e46618aff9b6e524a015b767a48387;hpb=484b2a0cbefcf0c7072622a5a411ea5ed849da28;p=lttng-tools.git diff --git a/doc/man/lttng-set-session.1.txt b/doc/man/lttng-set-session.1.txt index 2e97c055b..c0ae89aa0 100644 --- a/doc/man/lttng-set-session.1.txt +++ b/doc/man/lttng-set-session.1.txt @@ -1,11 +1,11 @@ lttng-set-session(1) ==================== -:revdate: 21 April 2021 +:revdate: 14 June 2021 NAME ---- -lttng-set-session - Set the current LTTng tracing session +lttng-set-session - Set the current LTTng recording session SYNOPSIS @@ -16,52 +16,34 @@ SYNOPSIS DESCRIPTION ----------- -The `lttng set-session` command sets the current tracing session of your -Unix user to the tracing session named 'SESSION'. - -See man:lttng-create(1) to learn more about the current tracing session. - -The following man:lttng(1) commands select the current tracing session -if you don't specify one: - -* man:lttng-add-context(1) -* man:lttng-clear(1) -* man:lttng-destroy(1) -* man:lttng-disable-channel(1) -* man:lttng-disable-event(1) -* man:lttng-disable-rotation(1) -* man:lttng-enable-channel(1) -* man:lttng-enable-event(1) -* man:lttng-enable-rotation(1) -* man:lttng-regenerate(1) -* man:lttng-rotate(1) -* man:lttng-save(1) -* man:lttng-snapshot(1) -* man:lttng-start(1) -* man:lttng-status(1) -* man:lttng-stop(1) -* man:lttng-track(1) -* man:lttng-untrack(1) -* man:lttng-view(1) +The `lttng set-session` command sets the current recording session of your +Unix user to the recording session named 'SESSION'. + +See man:lttng-concepts(7) to learn more about the current recording +session. The `set-session` command effectively updates the `$LTTNG_HOME/.lttngrc` file. -List the tracing sessions of your Unix user with the man:lttng-list(1) -command. +List the recording sessions of your Unix user, or of all users if +your Unix user is `root`, within the connected session daemon with the +man:lttng-list(1) command. + + +include::common-lttng-cmd-options-head.txt[] -include::common-cmd-options-head.txt[] +include::common-lttng-cmd-help-options.txt[] -include::common-cmd-help-options.txt[] +include::common-lttng-cmd-after-options.txt[] -include::common-cmd-footer.txt[] +include::common-footer.txt[] SEE ALSO -------- +man:lttng(1), man:lttng-create(1), -man:lttng-destroy(1), -man:lttng(1) +man:lttng-concepts(7)