projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: allow to combine terse output with any selected output type
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 7f8b3178ebd26f36e47c434dbcf035a6b8ceac28..5fc3b224f2d4c766a8a8cd07574fe24120cd173d 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-43,6
+43,7
@@
struct thread_data *threads = NULL;
int exitall_on_terminate = 0;
int output_format = FIO_OUTPUT_NORMAL;
int exitall_on_terminate = 0;
int output_format = FIO_OUTPUT_NORMAL;
+int append_terse_output = 0;
int eta_print = FIO_ETA_AUTO;
int eta_new_line = 0;
FILE *f_out = NULL;
int eta_print = FIO_ETA_AUTO;
int eta_new_line = 0;
FILE *f_out = NULL;
@@
-108,6
+109,11
@@
static struct option l_opts[FIO_NR_OPTIONS] = {
.has_arg = optional_argument,
.val = 'F' | FIO_CLIENT_FLAG,
},
.has_arg = optional_argument,
.val = 'F' | FIO_CLIENT_FLAG,
},
+ {
+ .name = (char *) "append-terse",
+ .has_arg = optional_argument,
+ .val = 'f',
+ },
{
.name = (char *) "version",
.has_arg = no_argument,
{
.name = (char *) "version",
.has_arg = no_argument,
@@
-1716,6
+1722,9
@@
int parse_cmd_line(int argc, char *argv[], int client_type)
else
output_format = FIO_OUTPUT_NORMAL;
break;
else
output_format = FIO_OUTPUT_NORMAL;
break;
+ case 'f':
+ append_terse_output = 1;
+ break;
case 'h':
if (!cur_client) {
usage(argv[0]);
case 'h':
if (!cur_client) {
usage(argv[0]);