| 1 | lttng-set-session(1) |
| 2 | ==================== |
| 3 | |
| 4 | |
| 5 | NAME |
| 6 | ---- |
| 7 | lttng-set-session - Set the current LTTng tracing session |
| 8 | |
| 9 | |
| 10 | SYNOPSIS |
| 11 | -------- |
| 12 | [verse] |
| 13 | *lttng* ['GENERAL OPTIONS'] *set-session* 'SESSION' |
| 14 | |
| 15 | |
| 16 | DESCRIPTION |
| 17 | ----------- |
| 18 | The `lttng set-session` command sets the current tracing session. |
| 19 | |
| 20 | 'SESSION' is the name of an existing tracing session. `lttng list` |
| 21 | outputs all the existing tracing sessions (see linklttng:lttng-list(1)). |
| 22 | |
| 23 | The current tracing session is used by default when a session can be |
| 24 | specified in other commands. See linklttng:lttng-create(1) for more |
| 25 | information about the current tracing session. |
| 26 | |
| 27 | |
| 28 | include::common-cmd-options-head.txt[] |
| 29 | |
| 30 | |
| 31 | include::common-cmd-help-options.txt[] |
| 32 | |
| 33 | |
| 34 | include::common-cmd-footer.txt[] |
| 35 | |
| 36 | |
| 37 | SEE ALSO |
| 38 | -------- |
| 39 | linklttng:lttng-create(1), |
| 40 | linklttng:lttng-destroy(1), |
| 41 | linklttng:lttng(1) |