Add profile description
authorJens Axboe <jens.axboe@oracle.com>
Fri, 5 Mar 2010 08:56:32 +0000 (09:56 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 5 Mar 2010 08:56:32 +0000 (09:56 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
profile.h
profiles/tiobench.c

index dbfb9c2e4537c40b9d9ddd5b89b56f0d69f05408..1185006755ee05895b903eac02e563257f5f9107 100644 (file)
--- a/profile.h
+++ b/profile.h
@@ -6,6 +6,7 @@
 struct profile_ops {
        struct flist_head list;
        char name[32];
+       char desc[64];
        int flags;
 
        /*
index aba0785c6eef6ab863cf1f8af039b2176bc113bb..e8c478ec6ce817c819fcd8fc21724b901e343dcb 100644 (file)
@@ -85,6 +85,7 @@ static void tb_prep_cmdline(void)
 
 static struct profile_ops tiobench_profile = {
        .name           = "tiobench",
+       .desc           = "Emulate behaviour of the tiotest/tiobench benchmark",
        .options        = options,
        .prep_cmd       = tb_prep_cmdline,
        .cmdline        = tb_opts,