summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-07-12 16:44:07 -0600
committerJens Axboe <axboe@kernel.dk>2017-07-12 16:44:07 -0600
commit43f466e667a8bcfc58c1c69b0897fe0345c34841 (patch)
treebab210e52e5bffab6e25894346fc535116a61496 /profiles
parentdae887f3e2ac761886980cd3197522f3be46082d (diff)
parse: enable options to be marked dont-free
For profiles, we can't free the options prematurely. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/act.c1
-rw-r--r--profiles/tiobench.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/profiles/act.c b/profiles/act.c
index cc1455d..4669535 100644
--- a/profiles/act.c
+++ b/profiles/act.c
@@ -89,6 +89,7 @@ static struct fio_option options[] = {
.help = "Devices to use",
.category = FIO_OPT_C_PROFILE,
.group = FIO_OPT_G_ACT,
+ .no_free = true,
},
{
.name = "load",
diff --git a/profiles/tiobench.c b/profiles/tiobench.c
index 9d9885a..f19a085 100644
--- a/profiles/tiobench.c
+++ b/profiles/tiobench.c
@@ -70,6 +70,7 @@ static struct fio_option options[] = {
.help = "Test directory",
.category = FIO_OPT_C_PROFILE,
.group = FIO_OPT_G_TIOBENCH,
+ .no_free = true,
},
{
.name = "threads",