X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstress.c;h=412df4fed1d01e033e87e4afa1ad8734c4179130;hb=8b36f51e0fdeb468058e4552858af03851b4fad3;hp=53f6fc02c2e00810e00722c90496617d087ec3f2;hpb=cc01d0bb79103a01aa0afc3484249fd518b877ea;p=openvswitch diff --git a/lib/stress.c b/lib/stress.c index 53f6fc02..412df4fe 100644 --- a/lib/stress.c +++ b/lib/stress.c @@ -215,8 +215,10 @@ stress_unixctl_set(struct unixctl_conn *conn, const char *args_, void stress_init_command(void) { - 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", "", stress_unixctl_list, NULL); + unixctl_command_register("stress/set", "option period [random | periodic]", + stress_unixctl_set, NULL); + unixctl_command_register("stress/enable", "", stress_unixctl_enable, NULL); + unixctl_command_register("stress/disable", "", + stress_unixctl_disable, NULL); }