Skip to contentSkip to conversation

blktrace: document -k option

PATCH In review Eric Sandeen 1 participant 2 messages May 9, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blktrace: document -k option

the -k option was missing from the usage() output and was present only in the man page synopsis. Say a few more words about it.

---

blktrace.c +2 -0
index 89aaaac..4e96573 100644
@@ -450,6 +450,7 @@ static char usage_str[] = "\n\n" \
         "[ -p <port number>   | --port=<port number>]\n" \
         "[ -s                 | --no-sendfile]\n" \
         "[ -I <devs file>     | --input-devs=<devs file>]\n" \
+        "[ -k                 | --kill]\n" \
         "[ -v <version>       | --version]\n" \
         "[ -V <version>       | --version]\n" \
 
@@ -467,6 +468,7 @@ static char usage_str[] = "\n\n" \
 	"\t-p Network port to use (default 8462)\n" \
 	"\t-s Make the network client NOT use sendfile() to transfer data\n" \
 	"\t-I Add devices found in <devs file>\n" \
+	"\t-k Kill a running trace\n" \
 	"\t-v Print program version info\n" \
 	"\t-V Print program version info\n\n";
 
doc/blktrace.8 +7 -0
index b5e69b7..7f13231 100644
@@ -163,6 +163,13 @@ This only works when supplying a single device, or when piping the output
 via "-o -" with multiple devices.
 .RE
 
+\-k
+.br
+\-\-kill
+.RS
+Kill a running trace if blktrace dies
+.RE
+
 \-r \fIrel-path\fR
 .br
 \-\-relay=\fIrel-path\fR     
#1 lore raw
Quoted 2 lines · Eric Sandeen

the -k option was missing from the usage() output and was present only in the man page synopsis. Say a few more words about it.

Gah, sorry. email address auto-fill bit me. :(

Quoted 47 lines

---

blktrace.c +2 -0
index 89aaaac..4e96573 100644
@@ -450,6 +450,7 @@ static char usage_str[] = "\n\n" \
         "[ -p <port number>   | --port=<port number>]\n" \
         "[ -s                 | --no-sendfile]\n" \
         "[ -I <devs file>     | --input-devs=<devs file>]\n" \
+        "[ -k                 | --kill]\n" \
         "[ -v <version>       | --version]\n" \
         "[ -V <version>       | --version]\n" \
 
@@ -467,6 +468,7 @@ static char usage_str[] = "\n\n" \
 	"\t-p Network port to use (default 8462)\n" \
 	"\t-s Make the network client NOT use sendfile() to transfer data\n" \
 	"\t-I Add devices found in <devs file>\n" \
+	"\t-k Kill a running trace\n" \
 	"\t-v Print program version info\n" \
 	"\t-V Print program version info\n\n";
 
doc/blktrace.8 +7 -1
index b5e69b7..7f13231 100644
@@ -163,6 +163,13 @@ This only works when supplying a single device, or when piping the output
 via "-o -" with multiple devices.
 .RE
 
+\-k
+.br
+\-\-kill
+.RS
+Kill a running trace if blktrace dies
+.RE
+
 \-r \fIrel-path\fR
 .br
 \-\-relay=\fIrel-path\fR     
 
--

To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html