summaryrefslogtreecommitdiff
path: root/blktrace.c
diff options
context:
space:
mode:
authorJustin TerAvest <teravest@google.com>2011-03-16 09:05:09 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-03-16 09:05:09 +0100
commit4fad2b83eea0cbe2eb7d6e7d659c6bbb263f08d4 (patch)
tree3c23d40c440fc6cdb2a8853005a8f7fb9fd1aa48 /blktrace.c
parent8fe5cc8d646d2fccbf82d0021d3c323ef6738a28 (diff)
downloadblktrace-4fad2b83eea0cbe2eb7d6e7d659c6bbb263f08d4.tar.gz
blktrace-4fad2b83eea0cbe2eb7d6e7d659c6bbb263f08d4.tar.bz2
blktrace: Document default values for -b and -n
To help users better deal with the log message "You have dropped events, consider using a larger buffer size (-b)", it's helpful to list the defaults for sub buffer management, without flags. Signed-off-by: Justin TerAvest <teravest@google.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'blktrace.c')
-rw-r--r--blktrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/blktrace.c b/blktrace.c
index 18c5157..72866e2 100644
--- a/blktrace.c
+++ b/blktrace.c
@@ -460,8 +460,8 @@ static char usage_str[] = "\n\n" \
"\t-w Stop after defined time, in seconds\n" \
"\t-a Only trace specified actions. See documentation\n" \
"\t-A Give trace mask as a single value. See documentation\n" \
- "\t-b Sub buffer size in KiB\n" \
- "\t-n Number of sub buffers\n" \
+ "\t-b Sub buffer size in KiB (default 512)\n" \
+ "\t-n Number of sub buffers (default 4)\n" \
"\t-l Run in network listen mode (blktrace server)\n" \
"\t-h Run in network client mode, connecting to the given host\n" \
"\t-p Network port to use (default 8462)\n" \