From db77f3a32483dd89e4c1237de549a06561dc7b39 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 12 Apr 2013 10:27:59 -0400 Subject: [PATCH] Fix: update lttng.1 man and enable-channel help with read timer size Signed-off-by: David Goulet --- doc/man/lttng.1 | 2 +- src/bin/lttng/commands/enable_channels.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"); -- 2.34.1