From 9d4408b888d092f9ddd128e3daeb1725abaf6726 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 11 Nov 2015 15:35:34 -0500 Subject: [PATCH] doc/man: create lttng-set-session(1) and update/fix content MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- doc/man/Makefile.am | 3 ++- doc/man/lttng-set-session.1.txt | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 doc/man/lttng-set-session.1.txt diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index c8997b789..438ffd843 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -10,7 +10,8 @@ manaddsuffix = $(addsuffix $(1),$(addprefix $(srcdir)/,$(2))) MAN1_NAMES = \ lttng \ lttng-create \ - lttng-destroy + lttng-destroy \ + lttng-set-session MAN3_NAMES = MAN8_NAMES = MAN1_NO_ASCIIDOC_NAMES = lttng-crash diff --git a/doc/man/lttng-set-session.1.txt b/doc/man/lttng-set-session.1.txt new file mode 100644 index 000000000..6e233e946 --- /dev/null +++ b/doc/man/lttng-set-session.1.txt @@ -0,0 +1,41 @@ +lttng-set-session(1) +==================== + + +NAME +---- +lttng-set-session - Set the current LTTng tracing session + + +SYNOPSIS +-------- +[verse] +*lttng* ['GENERAL OPTIONS'] *set-session* 'SESSION' + + +DESCRIPTION +----------- +The `lttng set-session` command sets the current tracing session. + +'SESSION' is the name of an existing tracing session. `lttng list` +outputs all the existing tracing sessions (see linklttng:lttng-list(1)). + +The current tracing session is used by default when a session can be +specified in other commands. See linklttng:lttng-create(1) for more +information about the current tracing session. + + +include::common-cmd-options-head.txt[] + + +include::common-cmd-help-options.txt[] + + +include::common-cmd-footer.txt[] + + +SEE ALSO +-------- +linklttng:lttng-create(1), +linklttng:lttng-destroy(1), +linklttng:lttng(1) -- 2.34.1