3 :revdate: 21 April 2021
8 lttng-set-session - Set the current LTTng tracing session
14 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *set-session* 'SESSION'
19 The `lttng set-session` command sets the current tracing session of your
20 Unix user to the tracing session named 'SESSION'.
22 See man:lttng-create(1) to learn more about the current tracing session.
24 The following man:lttng(1) commands select the current tracing session
25 if you don't specify one:
27 * man:lttng-add-context(1)
29 * man:lttng-destroy(1)
30 * man:lttng-disable-channel(1)
31 * man:lttng-disable-event(1)
32 * man:lttng-disable-rotation(1)
33 * man:lttng-enable-channel(1)
34 * man:lttng-enable-event(1)
35 * man:lttng-enable-rotation(1)
36 * man:lttng-regenerate(1)
39 * man:lttng-snapshot(1)
44 * man:lttng-untrack(1)
47 The `set-session` command effectively updates the `$LTTNG_HOME/.lttngrc`
50 List the tracing sessions of your Unix user with the man:lttng-list(1)
54 include::common-cmd-options-head.txt[]
57 include::common-cmd-help-options.txt[]
60 include::common-cmd-footer.txt[]