From: David Goulet Date: Fri, 12 Apr 2013 14:27:59 +0000 (-0400) Subject: Fix: update lttng.1 man and enable-channel help with read timer size X-Git-Tag: v2.2.0-rc2~44 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=db77f3a32483dd89e4c1237de549a06561dc7b39;p=lttng-tools.git Fix: update lttng.1 man and enable-channel help with read timer size Signed-off-by: David Goulet --- diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 38a99ce63..934f12381 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -335,7 +335,7 @@ same type. \-\-switch-timer USEC Switch subbuffer timer interval in µsec (default: 0) \-\-read-timer USEC - Read timer interval in µsec (default: 200) + Read timer interval in µsec (UST default: 0, kernel default: 200000) \-\-output TYPE Channel output type. Possible values: mmap, splice \-\-buffers-uid diff --git a/src/bin/lttng/commands/enable_channels.c b/src/bin/lttng/commands/enable_channels.c index f53a941a2..f298003ba 100644 --- a/src/bin/lttng/commands/enable_channels.c +++ b/src/bin/lttng/commands/enable_channels.c @@ -112,8 +112,8 @@ static void usage(FILE *ofp) fprintf(ofp, " kernel and ust tracers\n"); fprintf(ofp, " --switch-timer USEC Switch timer interval in usec (default: %u)\n", DEFAULT_CHANNEL_SWITCH_TIMER); - fprintf(ofp, " --read-timer USEC Read timer interval in usec (default: %u)\n", - DEFAULT_CHANNEL_READ_TIMER); + fprintf(ofp, " --read-timer USEC Read timer interval in usec (UST default: %u, kernel default: %u)\n", + DEFAULT_UST_CHANNEL_READ_TIMER, DEFAULT_KERNEL_CHANNEL_READ_TIMER); fprintf(ofp, " --output TYPE Channel output type (Values: %s, %s)\n", output_mmap, output_splice); fprintf(ofp, " --buffers-uid Use per UID buffer (-u only)\n");