Fix: update lttng.1 man and enable-channel help with read timer size
authorDavid Goulet <dgoulet@efficios.com>
Fri, 12 Apr 2013 14:27:59 +0000 (10:27 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 12 Apr 2013 14:27:59 +0000 (10:27 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
doc/man/lttng.1
src/bin/lttng/commands/enable_channels.c

index 38a99ce63bd19ea35cf2d059793d58907eb652ea..934f12381b99be100f3a41c81aac59b1cd225266 100644 (file)
@@ -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
index f53a941a297358443bda9e18adf68d7de879ba86..f298003ba87a308d846051c84ef8f341df13a0e4 100644 (file)
@@ -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");
This page took 0.026456 seconds and 4 git commands to generate.