X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fman%2Flttng-view.1.txt;fp=doc%2Fman%2Flttng-view.1.txt;h=a91e5dff6931bacfac2b94b84d580ceb5a828bdc;hp=15465c9db42e50e98ef315848bc4dcd108e43b8e;hb=e7f6af5d20bf3bdb720fd6780d0c553c2f288c24;hpb=378cc12acb1c12f80c0e5ddd9d18d284aa6471fb diff --git a/doc/man/lttng-view.1.txt b/doc/man/lttng-view.1.txt index 15465c9db..a91e5dff6 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[]