projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change .category of cpuio to FIO_OPT_C_ENGINE
[fio.git]
/
engines
/
cpu.c
diff --git
a/engines/cpu.c
b/engines/cpu.c
index 3d855e363c3212ba3d0c656ac5e2e92de1da1c05..d0b4a895afcb78c3619adebb15854236a324785c 100644
(file)
--- a/
engines/cpu.c
+++ b/
engines/cpu.c
@@
-22,7
+22,7
@@
static struct fio_option options[] = {
.type = FIO_OPT_INT,
.off1 = offsetof(struct cpu_options, cpuload),
.help = "Use this percentage of CPU",
.type = FIO_OPT_INT,
.off1 = offsetof(struct cpu_options, cpuload),
.help = "Use this percentage of CPU",
- .category = FIO_OPT_C_
GENERAL
,
+ .category = FIO_OPT_C_
ENGINE
,
.group = FIO_OPT_G_INVALID,
},
{
.group = FIO_OPT_G_INVALID,
},
{
@@
-34,7
+34,7
@@
static struct fio_option options[] = {
.def = "50000",
.parent = "cpuload",
.hide = 1,
.def = "50000",
.parent = "cpuload",
.hide = 1,
- .category = FIO_OPT_C_
GENERAL
,
+ .category = FIO_OPT_C_
ENGINE
,
.group = FIO_OPT_G_INVALID,
},
{
.group = FIO_OPT_G_INVALID,
},
{
@@
-44,7
+44,7
@@
static struct fio_option options[] = {
.off1 = offsetof(struct cpu_options, exit_io_done),
.help = "Exit when IO threads finish",
.def = "0",
.off1 = offsetof(struct cpu_options, exit_io_done),
.help = "Exit when IO threads finish",
.def = "0",
- .category = FIO_OPT_C_
GENERAL
,
+ .category = FIO_OPT_C_
ENGINE
,
.group = FIO_OPT_G_INVALID,
},
{
.group = FIO_OPT_G_INVALID,
},
{