aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2022-09-15 19:58:57 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2022-09-20 11:19:12 +0300
commit31ecaa8a5a2f82ff188c939b45306f024652a6da (patch)
tree32491aa98c60b87cdc4517964e3f2394228c907c /helper
parent7b2cf3a154fab675a50cf3353dc1de48e6c147a4 (diff)
helper: cli: add command odp_schedule_print
Add command odp_schedule_print. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'helper')
-rw-r--r--helper/cli.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/helper/cli.c b/helper/cli.c
index 800a6802b..fef42ec61 100644
--- a/helper/cli.c
+++ b/helper/cli.c
@@ -458,6 +458,17 @@ static int cmd_odp_queue_print_all(struct cli_def *cli, const char *command ODP_
return CLI_OK;
}
+static int cmd_odp_schedule_print(struct cli_def *cli, const char *command ODP_UNUSED,
+ char *argv[] ODP_UNUSED, int argc)
+{
+ if (check_num_args(cli, argc, 0))
+ return CLI_ERROR;
+
+ odp_schedule_print();
+
+ return CLI_OK;
+}
+
static int cmd_odp_shm_print(struct cli_def *cli, const char *command ODP_UNUSED, char *argv[],
int argc)
{
@@ -705,6 +716,7 @@ static struct cli_def *create_cli(cli_shm_t *shm)
CMD(odp_pool_print, "<name>");
CMD(odp_queue_print_all, NULL);
CMD(odp_queue_print, "<name>");
+ CMD(odp_schedule_print, NULL);
CMD(odp_shm_print_all, NULL);
CMD(odp_shm_print, "<name>");
CMD(odp_sys_config_print, NULL);