Signed-off-by: Jens Axboe <axboe@fb.com>
#define __td_verror(td, err, msg, func) \
do { \
#define __td_verror(td, err, msg, func) \
do { \
if ((td)->error) \
break; \
if ((td)->error) \
break; \
if (!(td)->first_error) \
snprintf(td->verror, sizeof(td->verror), "file:%s:%d, func=%s, error=%s", __FILE__, __LINE__, (func), (msg)); \
} while (0)
if (!(td)->first_error) \
snprintf(td->verror, sizeof(td->verror), "file:%s:%d, func=%s, error=%s", __FILE__, __LINE__, (func), (msg)); \
} while (0)
static struct profile_ops tiobench_profile = {
.name = "tiobench",
.desc = "tiotest/tiobench benchmark",
static struct profile_ops tiobench_profile = {
.name = "tiobench",
.desc = "tiotest/tiobench benchmark",
.prep_cmd = tb_prep_cmdline,
.cmdline = tb_opts,
.options = options,
.prep_cmd = tb_prep_cmdline,
.cmdline = tb_opts,
.options = options,