diff options
Diffstat (limited to 'projects/hsm/mgmt-task.c')
-rw-r--r-- | projects/hsm/mgmt-task.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/projects/hsm/mgmt-task.c b/projects/hsm/mgmt-task.c index 4668585..c2a3d3f 100644 --- a/projects/hsm/mgmt-task.c +++ b/projects/hsm/mgmt-task.c @@ -52,6 +52,10 @@ extern size_t request_queue_max(void); static int cmd_task_show(struct cli_def *cli, const char *command, char *argv[], int argc) { + command = command; + argv = argv; + argc = argc; + cli_print(cli, "name state stack high water"); cli_print(cli, "-------- -------- ----------------"); @@ -76,6 +80,10 @@ static int cmd_task_show(struct cli_def *cli, const char *command, char *argv[], #ifdef DO_TASK_METRICS static int cmd_task_show_metrics(struct cli_def *cli, const char *command, char *argv[], int argc) { + command = command; + argv = argv; + argc = argc; + struct task_metrics tm; task_get_metrics(&tm); @@ -88,6 +96,11 @@ static int cmd_task_show_metrics(struct cli_def *cli, const char *command, char static int cmd_task_reset_metrics(struct cli_def *cli, const char *command, char *argv[], int argc) { + cli = cli; + command = command; + argv = argv; + argc = argc; + task_reset_metrics(); return CLI_OK; |