Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update man pages for 2.11 #143

Closed
wants to merge 10 commits into from
Closed

Conversation

eepp
Copy link
Member

@eepp eepp commented Nov 8, 2018

No description provided.

`lttng disable-rotation` only unsets what has been previously set by
`lttng enable-rotation`. The real limitations are for
`lttng enable-rotation` and `lttng rotate`.

Signed-off-by: Philippe Proulx <[email protected]>
@eepp eepp added this to the LTTng 2.11 milestone Nov 8, 2018
@eepp eepp requested a review from jgalar November 8, 2018 21:44
@eepp eepp added the docs label Nov 8, 2018
@eepp eepp changed the title Update rotation man pages Update man pages for 2.11 Nov 9, 2018
* Better inline styles for option variables.
* Option descriptions moved to the OPTIONS section.
* Expand SDT acronym.
* Add note indicating that SDT probes surrounded by reference counts
  are not supported.
* Use "application" and "library" instead of "executable".

Signed-off-by: Philippe Proulx <[email protected]>
Reviewed-by: Francis Deslauriers <[email protected]>
Many people have contributed to LTTng-tools and the original authors are
not necessarily the top ones now. For instance, GitHub reports this top
5 as of this patch:

1. jgalar    952 commits  45,889 ++  13,959 --
2. compudj    880 commits  56,579 ++  28,095 --
3. PSRCode    303 commits  25,553 ++  10,909 --
4. eepp    199 commits  12,119 ++  6,461 --
5. jdesfossez    174 commits  32,546 ++  3,381 --

Also, man-pages(7), the conventions for writing Linux man pages, says:

> Use of an AUTHORS section is strongly discouraged.

Let's just keep the project's copyrights and some special thanks without
selecting specific authors to list on each man page.

Signed-off-by: Philippe Proulx <[email protected]>
schedule condition periodically using the monitor timers of the tracing
session's channels. This means that, with the option:--timer option, the
automatic rotation can occur when the elapsed time since the last
automatic rotation is greater than 'PERIOD', and with the option:--size
option, the automatic rotation can occur when the size of the flushed
part of the current trace chunk is greater than 'SIZE'. See the
part of the current trace chunk is greater than 'SIZE'. Therefore the
'PERIOD' and 'SIZE' arguments are approximations. See the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While SIZE is an approximation, the precision of which is governed by the monitor-timer, the PERIOD is fairly precise as it basically relies on the precision of the platform's implementation of POSIX timers.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 9a49aca.

* Tracepoint/system call name ('EVENT' argument with option:--tracepoint
or option:--syscall options) or dynamic probe/function name/address
(option:--probe, option:--userspace-probe, and option:--function
option's argument) which must match event source's equivalent.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a word missing on the last line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

event source's equivalent [tracepoint/system call name] (implicit).

an available symbol name or a SystemTap Statically Defined Tracepoints
(SDT, a DTrace-style marker) probe's provider and probe names. As of
this version, only SDT probes that are :not: surrounded by a reference
counter (semaphore).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a "are supported" missing here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 22337de.

@jgalar
Copy link
Member

jgalar commented Nov 16, 2018

Merged in master and stable-2.11, thanks!

@jgalar jgalar closed this Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants