X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=profiles%2Ftiobench.c;h=f86a33787d9ca4e5f25fe2d096089c04b902154d;hb=b6cf38f0aed8b12db1c8fd520c09e5a74066ebc9;hp=4bdcfa24396580109aba6c4eab4590db6c703a18;hpb=2363d8df7c0c6fe0613dc8e7ae2fa6f098cbc0d8;p=fio.git diff --git a/profiles/tiobench.c b/profiles/tiobench.c index 4bdcfa24..f86a3378 100644 --- a/profiles/tiobench.c +++ b/profiles/tiobench.c @@ -85,6 +85,7 @@ static void tb_prep_cmdline(void) static struct profile_ops tiobench_profile = { .name = "tiobench", + .desc = "tiotest/tiobench benchmark", .options = options, .prep_cmd = tb_prep_cmdline, .cmdline = tb_opts, @@ -92,7 +93,8 @@ static struct profile_ops tiobench_profile = { static void fio_init tiobench_register(void) { - register_profile(&tiobench_profile); + if (register_profile(&tiobench_profile)) + log_err("fio: failed to register profile 'tiobench'\n"); } static void fio_exit tiobench_unregister(void)