X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-view.1.txt;h=0eccb30d1b95e65d2b3b8c9a773c98936772c087;hb=da39b67ce2828bfc63a02db969048bfe1abd4ca0;hp=15465c9db42e50e98ef315848bc4dcd108e43b8e;hpb=f5511eeafdb40b9589306519633566c3be48756c;p=lttng-tools.git diff --git a/doc/man/lttng-view.1.txt b/doc/man/lttng-view.1.txt index 15465c9db..0eccb30d1 100644 --- a/doc/man/lttng-view.1.txt +++ b/doc/man/lttng-view.1.txt @@ -1,6 +1,6 @@ lttng-view(1) ============= -:revdate: 29 April 2021 +:revdate: 17 May 2021 NAME @@ -38,6 +38,8 @@ By default, the `view` command attempts to launch man:babeltrace2(1) or, if it's not available, man:babeltrace(1). Override which trace reader to launch with the option:--viewer option. +See the ``<>'' section below for usage examples. + include::common-lttng-cmd-options-head.txt[] @@ -63,6 +65,29 @@ include::common-lttng-cmd-help-options.txt[] include::common-lttng-cmd-after-options.txt[] +[[examples]] +EXAMPLES +-------- +.Read the traces of the current tracing session with Babeltrace. +==== +[role="term"] +---- +$ lttng view +---- +==== + +.Read the traces of a specific tracing session with a custom trace reader. +==== +See the option:--viewer option. + +[role="term"] +---- +$ lttng view --viewer='/usr/bin/my-reader -zK --details=3' \ + my-session +---- +==== + + include::common-footer.txt[]