X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=btt%2Fargs.c;h=5c5078ab2c81a8f86a5b1a31e647b346a5d9e736;hb=d025d6c67760a52e34e6c7352f33ad5dbbb4f6f4;hp=2cbbf543cf62839a0816c6e444ed1eb17efb4791;hpb=4ae2c3c6215de3f9016b5211ac83893cb061b1e1;p=blktrace.git
diff --git a/btt/args.c b/btt/args.c
index 2cbbf54..5c5078a 100644
--- a/btt/args.c
+++ b/btt/args.c
@@ -29,7 +29,7 @@
#define SETBUFFER_SIZE (64 * 1024)
-#define S_OPTS "aAB:d:D:e:hi:I:l:m:M:o:p:q:Q:s:S:t:T:u:VvX"
+#define S_OPTS "aAB:d:D:e:hi:I:l:L:m:M:o:p:P:q:Q:rs:S:t:T:u:VvXz:Z"
static struct option l_opts[] = {
{
.name = "seek-absolute",
@@ -91,6 +91,12 @@ static struct option l_opts[] = {
.flag = NULL,
.val = 'l'
},
+ {
+ .name = "periodic-latencies",
+ .has_arg = required_argument,
+ .flag = NULL,
+ .val = 'L'
+ },
{
.name = "seeks-per-second",
.has_arg = required_argument,
@@ -115,6 +121,12 @@ static struct option l_opts[] = {
.flag = NULL,
.val = 'p'
},
+ {
+ .name = "per-io-trees",
+ .has_arg = required_argument,
+ .flag = NULL,
+ .val = 'P'
+ },
{
.name = "q2c-latencies",
.has_arg = required_argument,
@@ -127,6 +139,12 @@ static struct option l_opts[] = {
.flag = NULL,
.val = 'Q'
},
+ {
+ .name = "no-remaps",
+ .has_arg = no_argument,
+ .flag = NULL,
+ .val = 'r'
+ },
{
.name = "seeks",
.has_arg = required_argument,
@@ -169,12 +187,24 @@ static struct option l_opts[] = {
.flag = NULL,
.val = 'v'
},
+ {
+ .name = "do-active",
+ .has_arg = no_argument,
+ .flag = NULL,
+ .val = 'z'
+ },
{
.name = "easy-parse-avgs",
.has_arg = no_argument,
.flag = NULL,
.val = 'X'
},
+ {
+ .name = "q2d-latencies",
+ .has_arg = required_argument,
+ .flag = NULL,
+ .val = 'z'
+ },
{
.name = NULL,
}
@@ -191,12 +221,15 @@ static char usage_str[] = \
"[ -i | --input-file= ]\n" \
"[ -I