X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=stat.c;h=8a0fab0548f8821202c76cb610ea345e4c2bc6f0;hp=a79c7ef29da473567debc712f3c6909b077f7a13;hb=525c2bfabdb7e0093a8775a09ad3e772d962760e;hpb=a5737c9363912baaa21af978358fb9f42e756beb;ds=sidebyside diff --git a/stat.c b/stat.c index a79c7ef2..8a0fab05 100644 --- a/stat.c +++ b/stat.c @@ -401,6 +401,7 @@ static void show_ddir_status_terse(struct thread_stat *ts, log_info(";%lu;%lu;%f%%;%f;%f", 0UL, 0UL, 0.0, 0.0, 0.0); } +#define FIO_TERSE_VERSION "2" static void show_thread_status_terse(struct thread_stat *ts, struct group_run_stats *rs) @@ -411,7 +412,8 @@ static void show_thread_status_terse(struct thread_stat *ts, double usr_cpu, sys_cpu; int i; - log_info("%s;%d;%d", ts->name, ts->groupid, ts->error); + log_info("%s;%s;%d;%d", FIO_TERSE_VERSION, ts->name, ts->groupid, + ts->error); show_ddir_status_terse(ts, rs, 0); show_ddir_status_terse(ts, rs, 1);