X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-regenerate.1.txt;h=7e447600796d27b520dacec37ecdd680cb57b79c;hb=d098bfda92ebbb94b7f2e6bfef2cc2f6e81256c4;hp=d3f645fc6d9e381066679a9723767a491d0e3e67;hpb=26f0c7794376456fcb5b13d4eae91c0ccf0dfe66;p=lttng-tools.git diff --git a/doc/man/lttng-regenerate.1.txt b/doc/man/lttng-regenerate.1.txt index d3f645fc6..7e4476007 100644 --- a/doc/man/lttng-regenerate.1.txt +++ b/doc/man/lttng-regenerate.1.txt @@ -1,6 +1,6 @@ lttng-regenerate(1) =================== -:revdate: 30 April 2021 +:revdate: 17 May 2021 NAME @@ -37,6 +37,8 @@ See man:lttng-concepts(7) to learn more about tracing sessions. As of this version, the `metadata` and `statedump` targets are available. +See the <> section below for usage examples. + Regenerate the metadata of a tracing session ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -85,7 +87,7 @@ man:lttng-concepts(7)): in both cases, the state dump information may be lost. -include::common-cmd-options-head.txt[] +include::common-lttng-cmd-options-head.txt[] option:-s 'SESSION', option:--session='SESSION':: @@ -93,10 +95,35 @@ option:-s 'SESSION', option:--session='SESSION':: instead of the current tracing session. -include::common-cmd-help-options.txt[] +include::common-lttng-cmd-help-options.txt[] + + +include::common-lttng-cmd-after-options.txt[] + + +[[examples]] +EXAMPLES +-------- +.Regenerate the metadata of the current tracing session. +==== +[role="term"] +---- +$ lttng regenerate metadata +---- +==== + +.Regenerate the state dump event records of a specific tracing session. +==== +See the option:--session option. + +[role="term"] +---- +$ lttng regenerate statedump --session=my-session +---- +==== -include::common-cmd-footer.txt[] +include::common-footer.txt[] SEE ALSO