- unixctl_command_register("stress/list", stress_unixctl_list, NULL);
- unixctl_command_register("stress/set", stress_unixctl_set, NULL);
- unixctl_command_register("stress/enable", stress_unixctl_enable, NULL);
- unixctl_command_register("stress/disable", stress_unixctl_disable, NULL);
+ unixctl_command_register("stress/list", "", 0, 1,
+ stress_unixctl_list, NULL);
+ unixctl_command_register("stress/set", "option period [random | periodic]",
+ 2, 3, stress_unixctl_set, NULL);
+ unixctl_command_register("stress/enable", "", 0, 0,
+ stress_unixctl_enable, NULL);
+ unixctl_command_register("stress/disable", "", 0, 0,
+ stress_unixctl_disable, NULL);