[PATCH] Add 'description' option
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 636955e25c7d6d175db84bfb5c0beae117aa82cd..8ea1b8ad7844c76ca822fd6bddef9753668ce717 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -409,6 +409,9 @@ static void show_thread_status(struct thread_data *td,
        }
 
        fprintf(f_out, "  IO depths    : 1=%3.1f%%, 2=%3.1f%%, 4=%3.1f%%, 8=%3.1f%%, 16=%3.1f%%, 32=%3.1f%%, >=64=%3.1f%%\n", io_u_dist[0], io_u_dist[1], io_u_dist[2], io_u_dist[3], io_u_dist[4], io_u_dist[5], io_u_dist[6]);
+
+       if (td->description)
+               fprintf(f_out, "%s\n", td->description);
 }
 
 static void show_ddir_status_terse(struct thread_data *td,